{% load bootstrap_pagination_tags %} {% load photo_tags %} {% load perm_tags %} {% load humanize %}

{{ image.title }}

{% if image.file_exists %} {{ image.title|truncatechars:123 }} {% else %} {% trans 'search photo' %} {% endif %}
{{ image.caption|striptags|truncatewords_html:25|safe }}