]> git.0d.be Git - panikweb.git/commit - panikweb_templates/templates/episodes/inline.html
add a filter tag to resize images
authorFrédéric Péters <fpeters@0d.be>
Tue, 20 Aug 2013 20:37:06 +0000 (22:37 +0200)
committerFrédéric Péters <fpeters@0d.be>
Tue, 20 Aug 2013 20:37:50 +0000 (22:37 +0200)
commit4ffef2f2760071097c76a0df3a05459aa30a94c2
tree50909e9b6e875ffae4ef2f1fae48b16c31fe3e4d
parent749442062c3313a00a076234f11583ab5d9a262c
add a filter tag to resize images

example usage: <img src="{{ episode.image|thumbnail:'50x50' }}" />
panikweb/paniktags/templatetags/thumbnails.py [new file with mode: 0644]
panikweb_templates/templates/episodes/inline.html