TL; DR: the image overlay filter is not just for watermarks, it can be used to collage images together.
My site has a very conventional listing page with thumbnail and title, I wondered if I might spice it up a little.
Rather than having all those http requests for 16 images per post (there are more than the 3 shown) I used hugo image overlay filter to make the preview image into a single image:
Image Filters | Hugo (gohugo.io)
My programming skills peaked with commodore vic20 BASIC but I managed to
- start with a suitably sized blank base image
- use .Fill to make the small squares
- make some x, y coordinates
- loop over each image and use the overlay filter with different x y coordinates.
{{ $baseimage = $baseimage.Filter (images.Overlay $smallsrc $x $y ) }}
I thought this was cool, hope it fits in the tips and tricks section.