Photo gallery software

This is yet another PHP photo-gallery, designed to let you display images on a website with the minimum of effort. Like many others, it automatically creates thumbnail images (using GD), and stores them all in one directory.

No database is required, no pre-processing is required. Simply create a directory structure with your photos, and copy the same index.php file into each directory.

The index.php file in each directory will call the script itself, which searches for subdirectories and images to display. Images are displayed as a thumbnail which links to the full-size image, although this is easy to change in the code.

To hide directories, use the .directory unix-convention of putting a full-stop at the beginning of the directory name. All non-dotted directories are displayed

Download the script

See an example of the script in action -- it's what I use for the photography pages on this website