change cover thumb size
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 23 Jan 2012 14:49:49 +0000 (15:49 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 23 Jan 2012 14:49:49 +0000 (15:49 +0100)
wolnelektury/templates/catalogue/book_mini_box.html
wolnelektury/templates/catalogue/book_short.html

index b7d78d7..830c08e 100755 (executable)
@@ -3,7 +3,7 @@
     <a href="{{ book.get_absolute_url }}">
         {% if book.cover %}
             <img src="
     <a href="{{ book.get_absolute_url }}">
         {% if book.cover %}
             <img src="
-                {% thumbnail book.cover "216x288" as thumb %}
+                {% thumbnail book.cover "139x193" as thumb %}
                     {{ thumb.url }}
                 {% empty %}
                     {{ book.cover.url }}
                     {{ thumb.url }}
                 {% empty %}
                     {{ book.cover.url }}
index 2c81b2e..90ac6af 100644 (file)
@@ -8,7 +8,7 @@
     <a href="{{ book.get_absolute_url }}">
         {% if book.cover %}
             <img src="
     <a href="{{ book.get_absolute_url }}">
         {% if book.cover %}
             <img src="
-                {% thumbnail book.cover "216x288" as thumb %}
+                {% thumbnail book.cover "139x193" as thumb %}
                     {{ thumb.url }}
                 {% empty %}
                     {{ book.cover.url }}
                     {{ thumb.url }}
                 {% empty %}
                     {{ book.cover.url }}