Django soft image thumbnail replacement

Using new template tag, you’re now free to cache images before rolling out new design and avoid heavy load (maybe via random call)!

https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#with

<img src="{{img.url|thumb:"500x500"%}" />


{% if rand % 10 }
{with newthumb=img.newthumb %}}

or <!-- {{img.url|thumb:"500x580"%} -->

{% endif %}