Might be unrelated to your specific problem, but generating thumbnails, I do mine in template directly, using ImageKit. Upon upload, I resize the image to a good size or convert the uploaded image to format of my taste, say 2048x1080.
-- Then in template, I just do {% thumbnail '400x500' model.image_field %} and the thumbnail is generated on the fly. The on-fly-generated-thumbnail is cached, so no performance issue is encountered upon second request.
https://github.com/matthewwithanm/django-imagekit
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a5cc228f-4280-4b86-9b89-6ed533f6cead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment