Closed denismosolov closed 9 years ago
Hello.
Nice tool. Thank you. I need an ability to re-size the cropped image, but I don't want to re-size the thumb box. i think adding 'resizeToWidth' and 'resizeToHeight' options is a good solution for this.
Also I noticed another similar feature request: https://github.com/hongkhanh/cropbox/issues/8
This code snippet make an image 100x100 px
var options = { imageBox: '.imageBox', thumbBox: '.thumbBox', spinner: '.spinner', imgSrc: 'avatar.png', resizeToWidth: 100, resizeToHeight: 100 } var cropper = new cropbox(options);
@denismosolov why is this closed?
I tried ,bug it is no use for me. I can not find the usefull method。
Hello.
Nice tool. Thank you. I need an ability to re-size the cropped image, but I don't want to re-size the thumb box. i think adding 'resizeToWidth' and 'resizeToHeight' options is a good solution for this.
Also I noticed another similar feature request: https://github.com/hongkhanh/cropbox/issues/8
This code snippet make an image 100x100 px