I just set up the PHP based web photo archive Gallery. It's pretty cool. Kinda tough to get working though. I had to download and install lots of things to get it working right. If you try this program, Don't bother with ImageMagick. Use NetPBM instead. Trust me, you'll be much happier.
Here is my Gallery
Here is the Gallery project: