jonasundderwolf / django-image-cropping

Django helper application to easily and non-destructively crop arbitrarily large images in admin and frontend.
Other
552 stars 131 forks source link

GCP Storage / AWS-S3 friendly ImageBackend #163

Open rburhum opened 3 years ago

rburhum commented 3 years ago

Is there an example of another implementation of an ImageBackend that does not go through easy_thumbnails?

The problem is that I want to crop the image on upload and generate the thumbnail then. No need to have dynamic images after the size has been chosen in the admin. Right now, the easy_thumbnails backend is querying the GCP bucket several times, on every request, and it is slowing down the request unnecessarily (not to mention that the cost of GETs is also increasing accordingly).

Thanks!

anrie commented 3 years ago

Hey @rburhum,

for now the EasyThumbnailsBackend is the only available backend.

But sure it would be nice to have a backend, that works better with S3 and other remote storages, so it would be great if someone would work on it.

rburhum commented 3 years ago

If I did a backend that would be:

would you consider it?

MRigal commented 3 years ago

Hi @rburhum , We will consider a PR: