genethumb
Presentation
genethumb is a quick and dirty shell script aimed at
generating HTML indexes with thumbnails from a directory full of images.
It is highly unconfigurable, might be buggy, and is quite slow, but it has
happened to be extremely popular amongst friends, so I decided to
make it available. Useful when sorting pr0n (or so I’ve been told).
genethumb is licenced under the GPL. It requires
convert and identify from the package ImageMagick.
genethumb also has a FreshMeat page.
You might wonder why I did such a script since there were lots
of professional tools to achieve the same goal, with additional
features. Well, I just like the idea of copying one single file to my
~/bin and being finished with the installation. No need to
worry about missing libraries, you just need ImageMagick installed.
But... but... it sucks !!!
Of course it sucks. It’s slow, it’s unconfigurable. But it works and I like it.
Download
Latest version is genethumb-0.0.8.sh.
Usage
Just go to a directory full of images, and launch
genethumb. It will generate thumbnails and an index.html
file for you.
You can specify a number of columns if you do not like the default
value of 5. For instance: genethumb 12.
Another example: if you want to recursively run
genethumb in a directory, try the following line:
for dir in `find -type d -name '.xvpics' -prune -o -print`; do ( cd "$dir" && genethumb ) ; done
Examples
Websites using genethumb to create their thumbnails include for instance:
- Bah! The list changes too often. Better do a Google lookup for genethumb-generated pages.