How can I prevent sorl-thumbnail from scaling up images which are smaller than desired thumbnail?
When scaling using {% thumbnail %} tag, the image is always scaled to desired dimmensions, while I want it to scale only images which are bigger than that.
If you using ImageField
I believe you can check the width/height first.
{% if image.width > 100 %}
{% thumbnail image 100x100 as thumb %}
<img src="{{ thumb.url }}"/>
{% endthumbnail %}
{% else %}
<img src="{{ image.url }}"/>
{% endif %}