Cropper – A simple jQuery image cropping plugin
Features
- Supports options
- Supports methods
- Supports events
- Supports touch (mobile)
- Supports zoom
- Supports rotation
- Supports scale (flip)
- Supports canvas
- Supports multiple croppers
- Cross-browser support
Main
class="cropper-example-1"> src="img/picture.jpg" alt="Picture">
JavaScript:
$('.cropper-example-1 > img').cropper({ aspectRatio: 16 / 9, autoCropArea: 0.65, strict: false, guides: false, highlight: false, dragCrop: false, cropBoxMovable: false, cropBoxResizable: false});
Website: http://fengyuanchen.github.io/cropper/
Examples: http://fengyuanchen.github.io/cropper/#examples
Thanks for reading,
Nabeel Shahid.
Recent Comments