Closed seehtml closed 7 years ago
$('#btn1').click(function () { $('#up-img-show').cropper({ aspectRatio: '1', autoCropArea:0.8, preview: '.up-pre-after', }); })
$('#btn2').click(function () { $('#up-img-show').cropper({ aspectRatio: '2', autoCropArea:0.8, preview: '.up-pre-after', }); })
// it can not be changed
$('#btn1').click(function () { $('#up-img-show').cropper({ aspectRatio: '1', autoCropArea:0.8, preview: '.up-pre-after', }); })
$('#btn2').click(function () { $('#up-img-show').cropper({ aspectRatio: '2', autoCropArea:0.8, preview: '.up-pre-after', }); })
// it can not be changed