Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Cropping from URL #167

Open
foragerDev opened this issue Apr 20, 2021 · 3 comments
Open

Image Cropping from URL #167

foragerDev opened this issue Apr 20, 2021 · 3 comments

Comments

@foragerDev
Copy link

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
Copy link
Contributor

MRigal commented May 20, 2021

Yep, this is a missing feature.

@foragerDev
Copy link
Author

@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
Copy link

@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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants