{% load i18n thumbnail %}
{% thumbnail object.cover.picture size crop="center" as im %} {{ object.cover.title }} {% endthumbnail %} {% for item in object.next_picture %} {% ifnotequal item.picture object.cover.picture %} {% thumbnail item.picture size crop="center" as im %} {{ item.title }} {% endthumbnail %} {% endifnotequal %} {% endfor %}
{% if object.show_description_inline %}

{{ object.description|safe }}

{% endif %} {% if object.show_counter %}

{% with count=object.pictures.count %}[{% if object.cover not in object.pictures.all %}{{ count|add:"1" }}{% else %}{{ count }}{% endif %} {% ifequal count 1 %}{% trans "picture" %}{% else %}{% trans "pictures" %}{% endifequal %}]{% endwith %}

{% endif %}