{# /************************************************************************** File name: gallery.html.twig Project: Villas3 Copyright 2022-2024 Michael J. Miller, All rights reserved Purpose: property gallery content Revision History: Date Version Details --------- -------- ----------------------------------------------- 5/6/24 3.0a Extensive modifications to fit new system. ***************************************************************************/ #}
{% for photo in photos %} {% if photo.height > photo.width %} {% set className='portrait' %} {% else %} {% set className='landscape' %} {% endif %}
{# #} Picture of {{photo.caption}}
{{photo.caption}}
{% endfor %}