angular-image-cropper
angular-image-cropper copied to clipboard
restrict the croped image to certain aspect ratio
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?
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.