Generate a simple static HTML/CSS photo gallery.

Browse the source code here.

I wanted a very simple, stupid, static image gallery generator to use for photo showcasing and sharing.

It should simply fulfill the following (and preferably no more):

  1. Output is only HTML and CSS – no JavaScript.
  2. Supports multiple albums and preferably also not necessarily disjoint albums ie. a photo can belong to several albums.
  3. Display metadata.
  4. Mobile and desktop friendly.

I was, however, unable to find any that met those criteria so I had to write one myself. I have yet to curate and organize albums but I have made available a small demo showcasing its core features. Currently I showcase my photos just like how I write my other blog posts, as available from the index. See the README for usage.

I still have some features to add and things to improve, namely

  1. Better handling of licence and copyright information. Currently this has to be hardcoded in the templates.
  2. Handle metadata differently for some photos. Metadata is encoded differently between different camera manufacturers. Currently, there is only the option of doing metadata one way for all photos.
  3. Image descriptions/captions.
  4. Better support for organization: arbitrary number of levels of subalbums.
  5. Input folder structure as albums/subalbums (this somewhat implies disjoint albums, could be worked around with file system links and detecting duplicates.)