more graphics
[prawokultury.git] / migdal / templates / migdal / entry / info / entry_begin.html
index dd8de2b..e2843c9 100755 (executable)
@@ -1,4 +1,5 @@
 {% load i18n %}
+{% load thumbnail %}
 
 {% if detail %}
     <h1>{{ object.title }}</h1>
 
 
 {% 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 }}