2023-09-23 15:56:49 -04:00
|
|
|
{{foreach $rows as $images}}
|
|
|
|
<div class="imagegrid-row" style="height: {{$images[0].commonHeightRatio}}%">
|
|
|
|
{{foreach $images as $image}}
|
|
|
|
{{* The absolute pixel value in the calc() should be mirrored from the .imagegrid-row column-gap value *}}
|
2023-09-23 22:20:00 -04:00
|
|
|
{{include file="content/image.tpl" image=$image allocated_height="calc(`$image.heightRatio * $image.widthRatio / 100`% - 5px / `$column_size`)"}}
|
2023-09-23 15:56:49 -04:00
|
|
|
{{/foreach}}
|
2022-12-04 21:27:51 -05:00
|
|
|
</div>
|
2023-09-23 15:56:49 -04:00
|
|
|
{{/foreach}}
|