AllanBishop / angular-img-cropper

An image cropping tool for AngularJS. Features rectangular crop area, zooming, aspect ratios and multi-touch.
MIT License
174 stars 112 forks source link

Validate image size #78

Open taz106 opened 8 years ago

taz106 commented 8 years ago

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 commented 7 years ago

+1

hendrik-scholz commented 6 years ago

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.