Created
May 31, 2012 12:36
-
-
Save timmyomahony/2843120 to your computer and use it in GitHub Desktop.
sorl.thumbnail and easy_thumbnails together
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load smart_load %} | |
{% load thumbnail from sorl.thumbnail as sorl_thumbnail %} | |
{% load thumbnail from easy_thumnails as easy_thumbnail %} | |
{% sorl_thumbnail image.image "100x100" as im %} | |
<img src='{{ im.url }}' /> | |
{% endthumbnail %} | |
<img src='{% easy_thumbnail image.image "100x100" %}' /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment