-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add: Image Compression #30
base: master
Are you sure you want to change the base?
Conversation
To be honest, I would want to make this optional actually. Most people would not want to do this as Wikimedia Commons welcome images in total size. |
I have added a checkbox field before the upload button. If checked, we will be resizing the image, else original image will be uploaded! |
@tonythomas01 Should I try some other approach for this? |
Sorry for the late reply, but now that we have the setup in place, lets make sure to add this to a future user study or something like that. We have to evaluate if people really like this. |
I have implemented a basic resizing function. It resizes the image to a fixed max-width and then resizes the height accordingly.
Let me know you thoughts on this @tonythomas01 @srish
fixes #18