👩💻 Join our community of thousands of amazing developers!
Another nice addition to the Hugo/Lightbox2 image gallery: one of Hugo’s available image filters is able to overlay the gallery images with a logo. Before we start, here’s the previous version of the gallery shortcode (including the EXIF caption from the last post) for reference: /layouts/shortcodes/gallery.html: {{ $image := (.Page.Resources.ByType "image") }} {{ with $image }} {{ range . }} {{ $resized := .Fill "150x115 q20" }} <a href="{{ .Permalink }}" data-lightbox="x" data-title="{{ wit...