Posts Tagged ‘image’

Crop Image with CSS

9th
November
2009
 
 
No
Comments
 

A simple question, have you ever wanted to crop an image using CSS? Well here’s the answer, clip: rect(). It’s quite easy to do with jQuery and PHP but this is a great and easy option for all those little gallery thumbnails.

Demo:

6176_107708012876_706367876_2457749_7496394_n

 

 

 

 

 

 

 

 

 

6176_107708012876_706367876_2457749_7496394_n

 

 

 

 

 

 

 

 

 



Mount & Unmount with Simple Script

15th
September
2009
 
 
No
Comments
 

Ubuntu’s File Manager, Nautilus, has the option of using custom made scripts to carry out specific functions. Examples of what you can so with these custom made scripts are functions like making an image your desktop background, or setting a file to read-only. Today we’ll be looking at how to mount and unmount an iso image in gnome.

Mounted Image

You’ll need to download two files, mount.sh and unmount.sh