Image Gallery Builder
build-gallery.pl is a script I wrote to generate the image gallery on my homepage. I wanted something spiffy, and automated, but I didn't want to deal with installing PHP, and frankly, my system couldn't handle it. I don't update my gallery all THAT frequently, so there was no need to have it dynamically generated. I've learned from long years of sys admin work to avoid as much dynamically generated content as possible - cache it, pre-generate it, whatever. Just avoid building it dynamically. :) Since my primary webserver is a Pentium-100 with 32 megs of RAM, this was doubly-important for me. It runs low on resources just starting up. ;)
So, I decided to roll my own script, and build-gallery.pl is the result. The actual thumbnail generation was stolen directly from a script by Brad Fitzpatrick, thumbnails.pl. The look-and-feel of the gallery was inspired by a design by Brandy Fortune - unfortunately, it doesn't do it justice. I'm still working on it. Thanks, Brandy. :)
The script's not all that impressive, but it doesn't have to be for me, which is who I wrote it for. ;) If you want it, feel free to use it, and even better feel free to submit patches and suggestions, and if I feel motivated, I might even get around to some of them. Heh.
To see the script in action on my homepage, click
here.
Note: several of the directories are password-protected.
Files