We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When adding a price, the user is asked to provide a proof (a photo of a price tag). We currently upload the original version of the image.
But the image is often large (smartphone cameras output images of 5MB+), and the network isn't necessarily good in shopping malls / supermarkets.
The idea is to compress the image before upload.
Transform into webp
What about croping ? Not concerned here, maybe in the future, to be discussed.
https://github.com/fengyuanchen/compressorjs
The text was updated successfully, but these errors were encountered:
Additional notes for future improvements (heic, safari...)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Story
When adding a price, the user is asked to provide a proof (a photo of a price tag). We currently upload the original version of the image.
But the image is often large (smartphone cameras output images of 5MB+), and the network isn't necessarily good in shopping malls / supermarkets.
The idea is to compress the image before upload.
Ideas
Transform into webp
What about croping ? Not concerned here, maybe in the future, to be discussed.
Libraries
https://github.com/fengyuanchen/compressorjs
The text was updated successfully, but these errors were encountered: