Generate web thumbnails page (gallery) for free with convert command on linux

Here\’s something for guys who want to generate html file with thumbnails of photos. I know sometimes it really gets messy. So sometime back I had found a search on the net for the same and found a script written by Samuel Hocevar.  Sorry I do not seem to have the link to the page, but since the script is GPL and name of the author is there in the script, I can put it for download from my web-blog also. So here is the script genthumb

The script will convert the images to thumbnails using the convert command and then create index.html linking all the created thumbnails into the page one by one. The logic as used by the program is as below:

For each jpeg found in the directory or the subdirectory, it will execute:

convert -geometry ${THWIDTH}x${THHEIGHT} \”$file\” \”$newfile\” >/dev/null 2>&1

to create the thumbnail. Then it will create the info file which it uses to create the links. Simple and elegnant.

Web Thumbnails, create your account to upload your files.

So, since I got one more address, I thought of some social service too ;). Just kidding. Got my gallery site up. You can use it too to upload your photos. For stopping social abuse I would personally be montoring the accounts thus created and you would need to send a mail to [email protected] for creation of the account. Right now there is no quota on the size of the space.

Here is the link: