For our website we custom-made a simple gallery script. You can see how it turned out
here. It's not too hard to get something going with just a sparse background in php and javascript. You just need a php script that looks at the photos in a certain directory, and some javascript to handle switching between photos.