1Gallery is a simple image gallery in PHP. It uses HTML 5, CSS and Javascript, all in one file.

Example: http://pmav.eu/photos/praia-do-baleal-2009/

Praia do Baleal 2009

Source code and examples

All the source code and examples are online here: https://github.com/pmav/1Gallery.

How to use it


  • Change the GALLERY_NAME and GALLERY_DESCRIPTION in the 1gallery.php file.
  • Put some images on the source directory.
  • Access the script.
On the first access the script will create all the thumbnails and move the files to the images directory, it may take some time.