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

Validate image size #78

Open
taz106 opened this issue May 18, 2016 · 2 comments
Open

Validate image size #78

taz106 opened this issue May 18, 2016 · 2 comments

Comments

@taz106
Copy link

taz106 commented May 18, 2016

I want to validate image before cropping, i.e. I to crop only that images which are less then 1MB. Is there a way to do that?

@lolobosse
Copy link

+1

@hendrik-scholz
Copy link

Take a look at the fork https://github.com/hendrik-scholz/angular-img-cropper. Using the file-size-in-bytes attribute might be an option.

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

3 participants