Hey, this was hugely coincidental that I stumbled on this thread! (Led here by the newletter, forgot all about this forum, heh.) I just finished a simple no-brainer script for this thing, which only works on Dreamhost as far as I know. (It needs php-cgi, and Imagemagick, can't guarantee that everywhere!) I was aksing myself...
Q: What should I do, sell it for millions of dollars, or give it away?
A: Give it away. Nobody will give me millions of dollars anyway.
Now I built this thing to work on any Dreamhost server, just drop the contents of the ZIP into the directory that contains your images and directories of images, it should just work, auto-generating thumbnails, and launching a new browser window if you click on the thumbs. (Since it's geared for Dreamhost, it uses ImageMagick instead of NetPBM or the GD libraries. What a cool program! How poorly documented! Woo.) You can adjust a few parameters, set the number of images to display at a time, or another variable for a different path to ImageMagick. Set these two variables...
$displayMany = 12; // <==!!! key value, only display 'X' at a time.
$pathToMogrify = "/usr/X11R6/bin/mogrify";
...or simply leave it alone, it should work right out of the box, no modifications needed. Tested only on Dreamhost, I assume that the $pathToMogrify would be different on different hosts, and I've included an .htaccess to set .php files to run as php-cgi instead. (Runs with permissions as "you".) I also put in a catch to stop folks from browsing ../../../.passwd files, etc... If any of you hard core server programmers note some other obvious security issues, please, tell me about them!
Have fun, I'd love to hear how this works for others here.
Your pal, -doc-
(edit: what, no auto linking of urls?
"Specialization is for Insects"