{% load wiki_thumbnails i18n %}{% comment %} This template is used for the markdown extension that renders images and captions. NB! Watch out for line breaks, markdown might add
s and

s. {% endcomment %}{% with image.current_revision.imagerevision as revision %}{% spaceless %}

{% thumbnail revision.image "250x250" as thumb %} {{ revision.get_filename }} {% empty %}
{% trans "Image not found" %}
{% endthumbnail %}
{{ caption|safe }}
{% endspaceless %}{% endwith %}