I need to make portrait vs landscape images fit in the same space. Portrait would need a max width, and landscape a max height I assume.
I’m just debating how to best automatically tackle this with Hugo for now and looking for suggestions from those who might know better.
I assume I’ll need to calculate height and width of the image prior to? As I’ll need that for lazyload anyways. Or can I just cheat it with javascript or css?