The BINS Photo Album is a package to generate static web pages from the command line. Why would you want to do this? Well, most of the dynamic web photo albums require that the server do all the work when the client requests the images, thus either slowing it down, or requiring a very beefy server. Also, you introduce the chance for a script-kiddie from hacking your site. Not good.
Enter BINS. Some of its features include [from the web page]:
Exif information and Digital camera support :
.htaccess file for correct encoding charset in HTTP headers ;The web site has some great example. Go check them out.