Re: [SLUG] thumbnails

From: Ronan Heffernan (ronan.heffernan@shawus.com)
Date: Tue Mar 19 2002 - 20:42:08 EST


Glenn Meyer wrote:

>Can anyone suggest an app that will convert .jpg and .gif files to a
>thumbnail for a web site?
>
>Thanks!
>
There is a really neat package called "album". It is a Perl script, and
you can find it on freshmeat.net. You can point it at a directory tree,
and it will traverse the tree creating HTML pages that contain your
pictures. It also creates a "tn" directory in each subdirectory and
runs ImageMagik "convert" to create thumbnails of your images. You can
also create a file called "captions.txt", with one line for each photo;
album will put the caption underneath the thumbnail, and if you click
the thumbnail, you get the full-sized image, still with caption.

The format for caption.txt is:

filename.jpg::::This is a picture of my penguin froliking on the beach.
filename2.jpg::::This is a picture of my penguin eating pickled herring

I like to create one captions.txt file for the whole tree, and copy it
into each subdirectory (of course, this requires that your filenames be
unique throughout the tree). This way, you always edit the top-level
copy, no matter where the photo resides.
--ronan



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:21:15 EDT