Static image gallery generator.
Photo gallery generator. Uses JSON metainfo files in the original images tree.
Features:
Options:
-h, --help output usage information
-V, --version output the version number
--base <directory> The base directory.
--target <directory> The target directory.
--templates <directory> The templates directory.
--force Force the recreation of thumbnails/target images.
--thumbnail <size> Thumbnail size (example: 300x200).
--normal <size> Normal max width (example: 1200).
Metainfo is stored in info.json
files (one per directory). Supported metainfo:
{
"title": String,
"description": String, // can contain HTML
"cover": String, // relative path to cover image,
"order": String, // currently only "year" is supported,
"year": Number // album year, used for sorting in the parent
}
Fields description
, cover
, order
and year
can be missing.
See the example-templates
directory.
ImageMagick > 6.3.8 must be installed.
Run with DEBUG=* rla-gallery-gen
.
The MIT License. See the LICENSE file.