{% load thumbnail filer_tags filer_image_tags %}{% spaceless %}
{% comment %}
You may change the image size for special cases in your project by overriding
this template. There are a few size manipulation filters for this in
`filer_image_tags`:
{% if placeholder == 'my_special_sidebar' %}
{% thumbnail instance.image opts.size|extra_padding_y:10 crop=opts.crop upscale=opts.upscale as thumbnail %}
{% else %}
{% thumbnail instance.image opts.size crop=opts.crop upscale=opts.upscale as thumbnail %}
{% endif %}
{% if link %}{% endif %}
{% if link %}{% endif %}
{% endcomment %}
{% if link %}{% endif %}
{% if in_unite %}
{% include "ripiu/djangocms_aoxomoxoa/picture.html" with picture=instance.image external_picture=instance.image_url alt_text=instance.alt caption_text=instance.caption %}
{% else %}
{% if instance.image %}
{% if instance.use_original_image %}
{% else %}
{% thumbnail instance.image size crop=opts.crop upscale=opts.upscale subject_location=opts.subject_location as thumbnail %}
{% endif %}
{% else %}
{# just a plain link to some external image #}
{% endif %}
{% if instance.caption or instance.description %}
{% if instance.caption %}{{ instance.caption }}{% endif %}
{% if instance.description %}{{ instance.description }}{% endif %}
{% endif %}
{% endif %}
{% if link %}{% endif %}
{% endspaceless %}