{% load i18n %}
+{% load thumbnail %}
{% if detail %}
<h1>{{ object.title }}</h1>
{% endif %}
+{% comment %}
<div class="entry-data">
{% if request.LANGUAGE_CODE == 'pl' %}
{% if object.published_en %}
{% endlanguage %}
{% endif %}
</div>
+{% endcomment %}
{% if object.image %}
- <img class="entry-picture" src="{{ object.image.url }}" />
+ <img class="entry-picture" src="{% thumbnail object.image "250x300" as thumb %}
+ {{ thumb.url }}
+ {% empty %}
+ {{ object.image.url }}
+ {% endthumbnail %}" />
{% endif %}
<div class="lead">
{{ object.lead }}