That's a work-around, but not ideal. What I'd love to find is some CSS/JS that can build the beautiful Flickr-style[0] photo grids that I could integrate into a Hugo generator.
[0] Flickr, for those who haven't used it much, came up with a unique way of displaying photos in a "justified" view so that there are no gaps between photos in a page full of images of various dimensions and orientations and so that all images stretch all the way to both edges and and are organized into neat rows with no vertical gaps. Example: https://www.flickr.com/photos/defender90/albums/721576700986...