jonasundderwolf / django-image-cropping

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

Image Cropping from URL #167

Open foragerDev opened 3 years ago

foragerDev commented 3 years ago

Hi, recently I happen to use this project, but my requirement was different, that I had Image URL on S3 so, I needed to crop them, so what I did is I add a ImageURLField that will download the image save it temporarily. and the will return the cropped image. That's what my approach is, and I made it work to show me the Image on the front end. But I do not know will it be able to transfer the cropped image over the network. As I just do not need to save the cropped the image. Just need to save the coordinates so that it can be sent as it is saved by the admin.

MRigal commented 3 years ago

Yep, this is a missing feature.

foragerDev commented 3 years ago

@MRigal after lots of research, you can change the storage to S3 with this library. https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html. And it works normally, then ImageField uploads the file to the cloud and downloads it from there.

RmaxTwice commented 10 months ago

@MRigal after lots of research, you can change the storage to S3 with this library. https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html. And it works normally, then ImageField uploads the file to the cloud and downloads it from there.

If you arrived at that conclusion then you should close this issue I think..