{% comment %} This is the generic picture module to show pictures and it's caption. required: - picture_scaled_url, set the scaled (non retina) image url - picture_url, sets the image url optional: - picture_name, sets the alt text - picture_caption, sets the caption - picture_default_alt_text, sets the alternative text - attributes, additional attributes for the tag {% endcomment %} {% load i18n %}
{% if picture_url %} {{ picture_default_alt_text|default:'' }} {% if picture_caption %}
{# TODO: Add filter which strips everything without ­ and
,
,
instead of |safe #} {{ picture_caption|safe }}
{% endif %} {% else %}

{% trans 'Missing picture' %}

{% endif %}