Closed
Description
Thanks for putting efforts into this great package! I found this one most relevant to my requirement, among several django imaging libraries.
The only issue I'm having is variants don't get regenerated when you replace an existing image.
It works fine locally (django.core.files.storage.FileSystemStorage
), but not on S3 (storages.backends.s3boto3.S3Boto3Storage
). Only main image is replaced, and thumbnail variants remain untouched.
main_image.png
(replaced with new one)main_image.md.png
(untouched, old)main_image.sm.png
(untouched, old)
My workaround was to add random hash to file name so that set of 3 new images are created on S3 bucket, each time you replace. It's not good enough since old images hold the space.
It would be great if someone can take a quick double check, and fix if easy.