Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function initialize(x1, x2, y1, y2, min_width, min_height, ratio_x, ratio_y) {
- // function() {
- new Cropper.Img(
- 'edited_picture',
- {
- ratioDim: { x: ratio_x, y: ratio_y },
- minWidth: min_width,
- minHeight: min_height,
- onloadCoords: {
- x1: x1,
- y1: y1,
- x2: x2,
- y2: y2
- },
- displayOnInit: true,
- onEndCrop: onEndCrop
- }
- )
- // }
- }
Add Comment
Please, Sign In to add comment