[Answered ]-Resize and Rename Image in Django UpdateView

0👍

I do this by using a custom image field. The code for it is available on github at https://github.com/hellsgate1001/django-thumbs.

I didn’t create this, I forked it to add a bit more flexibility to the thumbnail creation and also to ensure it works with Django 1.5

2👍

Although their approach is different I suggest using sorl-thumbnail. Instead of creating the images when they are uploaded what this does is creates them when they are required and then caches them using whatever caching system you specify.

👤Prydie

Leave a comment