Here is a link to a photogallery in php. It contains code for mac and our server so you can just unzip and place all into a folder on your public_html called photo.
Then we can look at some of the files, how the php works and begin to modify the files to our customized look.