× Search About Posts Code Music Links
Blank Try
experiment
lots
learn
more

Hugo gallery

Updated on
Last site update: 8 May 2024

Unfinished article

Hugo Gallery is an image generator that will create a new folder with markdown files for each image in a named folder.

Version 1.0 was released in 2016 and not been updated since.

Appears simple to use:

hugo-gallery <Source Path> <Destination Section> <Title> [BaseUrl]

Real example:

hugo-gallery static/images/vacation-photos hawaii "Hawaii Trip" will produce a new folder called hawaii at /content/hawaii.

The bad

There are no install instructions. It’s built primarily in Go with some shell scripts so you probably need Go installed as a minimum.

There is some help in the forums but still does not say if it requires Go to be installed.

Though from one commentator on GitHub it looks like it does:

I already realized that I have to run go build hugo-gallery.go

link

  1. Photoswipe is tested here. (CDN link).
  2. BaguetteBox JS looks worth trying, available via CDN
  3. Photo Grid Gallery
  4. Smart Photo, similar to Photogrid.