angular-image-cropper icon indicating copy to clipboard operation
angular-image-cropper copied to clipboard

restrict the croped image to certain aspect ratio

Open muhammadyibr opened this issue 9 years ago • 1 comments

How can I set aspect ratio so user can crop the image under that aspect ratio?

Like using an attr aspect-ratio="1.3" or api?

muhammadyibr avatar Mar 04 '16 19:03 muhammadyibr

You can play around with width and height attributes. You can assign a function that return calculated value for these attributes based on your need aspect ratio.

tomchi89 avatar Apr 07 '17 22:04 tomchi89