{% load i18n %} {% load bootstrap_pagination_tags %} {% load photo_tags %} {% load perm_tags %} {% load humanize %}
{% if image.file_exists %} {% blocktrans with t=image.title|truncatechars:123 %}{{ t }}{% endblocktrans %} {% else %} {% trans 'search photo' %{ {% endif %}

{% blocktrans with t=image.title %}{{ t }}{% endblocktrans %}

{% blocktrans with c=image.caption|striptags|truncatewords_html:25|safe %}{{ c }}{% endblocktrans %}
{% include "photos/meta.html" %}