Featured image of post Image gallery

Image gallery

Create beautiful interactive image gallery using Markdown

Hugo theme Stack supports the creation of interactive image galleries using Markdown. It’s powered by PhotoSwipe and its syntax was inspired by Typlog.

To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo’s page bundle feature to read the dimensions of the image. External images are not supported.

Syntax

1
![Image 1](1.jpg) ![Image 2](2.jpg)

Result

Image 1 Image 2 Hand Holding Pentel GraphGear Image 4 Image 5 Image 6 Image 7

Photo by mymind and Luke Chesser on Unsplash

Photo 3 by Hossein Fatemi on Unsplash

Photo 4 by Matt Bero on Unsplash

Photo 5 by Kelly Sikkema on Unsplash

Photo 6 by Mike Tinnion on Unsplash

Photo 7 by Kelly Sikkema on Unsplash

Licensed under CC BY-NC-SA 4.0
© Based on the marvellous Stack template by Jimmycai
Parallax stars effect by Sarazond, grid background by Temani Afif