PHP photo galleries

I'm looking for a file- or MySQL-backed PHP photo gallery that allows you to tag photos for later searching (maybe like, as I'll be tagging pictures with topic as well as photographer. Most image galleries seem to be strictly hierarchical (if not flat).

I'd like it to automatically create thumbnails, too. I hope has gd or imagemagick. If not, I'll just have to do the image uploading and tagging myself...


The description for mentioned being able to search by keyword, so I think I'll go for that one. Gallery ( also looks useful.