]> git.parisson.com Git - teleforma.git/commitdiff
fix
authoryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 14:48:01 +0000 (16:48 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 14:48:01 +0000 (16:48 +0200)
teleforma/templates/teleforma/inc/media_list.html

index d846377b2f3327d98d3e7399e0e78e34b2327b43..10ad4083256c609e80116bd80e96b5bed890bfaf 100644 (file)
             <tr>
             <td {% if forloop.first %}class="border-top"{% endif %} width="35%">
                 <a href="{% url teleforma-media-detail media.id %}" title="{% trans "View" %}">
-
-                {% thumbnail media.item.related.file "x230" as im %}
-                  <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" alt="snapshot" />
-                {% endthumbnail %}
-
+                  <img src="{% url telemeta-item-related media.item.public_id media.item.related.id %}" style="max-width: 230px; max-height: 200px;" alt="snapshot" />
                 </a>
             </td>
             <td {% if forloop.first %}class="border-top"{% endif %} width="60%" style="padding-left: 1em;">