Quick Thumbnails in Django
I updated this post. I was thinking the uploaded file was deleted after using it, but I just needed to reset the file. Django’s InMemoryUploadedFile uses StringIO. Doing file.seek(0)
will reset the StringIO file to be ready to create another thumbnail.
Read more comments by Greg Allard