Hello! I'm trying to create a thumbnail using sorl-thumbnail in Django template:
source: {{ photo.image.width }} x {{ photo.image.height }} {% thumbnail photo.image "1024x1024" upscale="False" as photo_thumbnail %} thumbnail: {{ photo_thumbnail.width }} x {{ photo_thumbnail.height }} <br> <img src="{{ photo_thumbnail.url }}" width="{{ photo_thumbnail.width }}" height="{{ photo_thumbnail.height }}"> {% endthumbnail %} photo.image contains target image, after rendering I've got: source: 522 x 374 thumbnail: 1024 x 734 and there is big ugly upscaled image. Why does sorl-thumbnail still upscale image even then upscale option is False? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.