Simple Gallery
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):
- Output is only HTML and CSS – no JavaScript.
- Supports multiple albums and preferably also not necessarily
disjoint albums ie. a photo can belong to several albums.
- Display metadata.
- 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
- Better handling of licence and copyright information. Currently this
has to be hardcoded in the templates.
- 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.
- Image descriptions/captions.
- Better support for organization: arbitrary number of levels of
subalbums.
- Input folder structure as albums/subalbums (this somewhat implies
disjoint albums, could be worked around with file system links and
detecting duplicates.)