PGTK

PGTK (The Photo-Gallery ToolKit) consists of a CGI
(the gallery) and a plethora of support utilities
to allow the creation and maintenance of Web-based
photo galleries. It is written exclusively in
Perl, and is highly customizable and configurable.