Page History
...
Kodeblok |
---|
./makeThumbs.sh height=200 startdir=/images quality=80 labelheight=10 |
Parameters:
Height | Height of the thumbnails |
---|---|
StartDir | The Directory to start from |
Quality | The Quality of the converted image, lower value = smaller size |
...
Source of the Script:
...
linenumbers | true |
---|
...
Directory structure sample:
Original file | Thumbnail for 200 Height | Thumbnail for 800 Height |
---|
/data/images/MyCar/image1.jpg | /data/images/MyCar/thumbs/200pxHigh/image1.jpg | /data/images/MyCar/thumbs/800pxHigh/image1.jpg |
/data/images/MyCar/Styled/image1.jpg | /data/images/MyCar/Styled/thumbs/200pxHigh/image1.jpg | /data/images/MyCar/Styled/thumbs/800pxHigh/image1.jpg |
/data/images/MyCar/Speeding.avi | /data/images/MyCar/thumbs/200pxHigh/Speeding.avi.jpg |