]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/feed/soundfile.html
switch thumbnail system from homegrown to sorl-thumbnail
[panikweb.git] / panikweb_templates / templates / feed / soundfile.html
index 116c3decdaa33077a087290bafd20dc207882a00..f14fdabd54c4637b3aad724a391c8ee86270d935 100644 (file)
@@ -1,6 +1,8 @@
-{% load thumbnails %}
+{% load thumbnail %}
 {% if obj.episode.image %}
-<img src="{{ obj.episode.image|thumbnail:'320x240' }}"/>
+{% thumbnail obj.episode.image "320x240" crop="50% 25%" as im %}
+<img src="{{im.url}}"/>
+{% endthumbnail %}
 {% endif %}
 
 {% autoescape off %}