easy-thumbnails icon indicating copy to clipboard operation
easy-thumbnails copied to clipboard

thumbnail_cleanup on aws s3

Open AlekseiKhatkevich opened this issue 6 years ago • 1 comments

Hello Is it possible to use thumbnail_cleanup commant if i store by thimbnails on AWS s3 and if so then how? Thx

AlekseiKhatkevich avatar Jun 16 '19 07:06 AlekseiKhatkevich

I just realised, that I was every time I ran thumbnail_cleanup I just deleted all my thumbnail database references with need to recreate all those thumbnails.

The thumbnail_cleanup procedure is written without having storages in mind at all. It doesn't count with S3 nor having different source and thumbnail storage.

Additionally, when I tried to fix it, I didn't find any way to access the source storage (it is stored only as hash), so I am not sure if it is even possible with current DB model.

PetrDlouhy avatar Dec 04 '20 09:12 PetrDlouhy