If you’re trying to create photo albums on your website, perhaps there’s no better tool than…

http://jalbum.net/en/software/features

It’s loaded with features for a very fair price. It even lets you do some lightweight photo editing, all included.