Cropper – A simple jQuery image cropping plugin

0
74

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,
Web Editor

LEAVE A REPLY

Please enter your comment!
Please enter your name here

5 + 10 =