Simple Photo Gallery documentation
Simple Photo Gallery is a free, open-source command-line tool that turns a folder of photos and videos into a static gallery website you can host anywhere. These pages cover installing the CLI, its commands, editing gallery.json, themes and deployment. The source code is on GitHub.
Getting started
Commands
- CommandsOverview of the spg commands and the global options they share.
- spg initScan a photos folder and create the gallery.json file.
- spg buildBuild the static HTML gallery, thumbnails and social media image.
- spg thumbnailsGenerate optimized thumbnails for the photos and videos in a gallery.
- spg cleanRemove generated gallery files.
- spg create-themeScaffold a new theme package from the base template.
Guides
- Gallery configurationEdit gallery.json to set metadata, sections, captions, thumbnails and more.
- DeploymentHost a gallery on a static hosting provider, with or without separate media hosting.
- EmbeddingEmbed a gallery in another website and customize it with URL parameters.
- Custom themesUse a different theme or build your own theme package.