{% load i18n thumbnail %}

{% if plugin.data.file %} {% if crop %} {% thumbnail plugin.data.file thumb_size crop=crop as im %} {% else %} {% thumbnail plugin.data.file thumb_size as im %} {% endif %} {{ plugin.data.alt }} {% else %} {% trans "No image provided!" %} {% endif %}