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

Restrict uploading of image to server on basis of size or dimensions of image. #210

Open
monis01 opened this issue Jun 23, 2018 · 0 comments

Comments

@monis01
Copy link

monis01 commented Jun 23, 2018

Hi
I am unable to find right option for this, I need to upload image of some specific size or some aspect ratio say 10:3 for w x h and if it does not meet the requirement it should not upload the image to server. I have found that when I receive data from new Image() inside the callback request is already sent to server.
Is there any way implemented to stop from loading image something similar to we provide allowed extensions? or any example to look more deeper.

Thanks

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

No branches or pull requests

1 participant