A simple PHP gallery generator with minimal configuration. The idea is simple: run it against a directory and get a page you can hit via the browser to view images.
The support for "themes" is minimal, but usable.
Themes are just a directory containing the following:
static/a folder of any static assets that are required (js, css, images)config.jsona config file (currently unused)index.phpthe main logic, which gets our code injected into
Our injected code makes a few variables visible that you can do whatever you wish with:
$imagesan array of image paths for the gallery$imagethe current image, if applicable (from theimagequerystring parameter)$imagePreviousthe previous image, if applicable$imageNextthe next image, if applicable$titlethe name of the gallery
The images in the example folder are from NASA.
The original code in this project is licensed under the MIT license.