{% for im in images %} {% set image = resize_image(path=im, height=height, op="fit_height") %} {{ caption | default(value= {% endfor %} {% if caption %}
{{ caption }}
{% endif %}