I have a Django project and i allow users to upload images. I don't want to limit image upload size for users. But want to compress the image after they select and store them. I want to understand which is better:
- Compress using java-script on the browser.
- Back end server using python libraries.
Also it will be helpful if links can be provided to implement the better approach.