{% load i18n cosinnus_tags %} {% comment %} Single gallery with only 1 picture (and the rest on click) Parameters: - object: the object object {% endcomment %} {% with images=object.attached_images %} {% for image in images %} 1 %}style="display: none"{% endif %}> {% endfor %} {% if images|length > 1 %}

{% blocktrans with num_pictures=images|length|subtract:1 %}+{{ num_pictures }} more...{% endblocktrans %}

{% endif %} {% endwith %}