Croppr.js
Croppr.js copied to clipboard
Can minsize be based on the pixel size of image?
I have tried returnMode: 'real'
and minSize : [300,300,'px'] but the point is even if the photo pixel size os 1600,900 the cropper takes the minsize based on the div or elemnt dimensions i.e. canvas dimensions. Can u please tell me how to fix the minsize based on the image pixels and not thr canvas pixels. Reply would be appreciated
i had the same issue. what i did is to call the moveTo method immediately after initialising Croppr - that caused a 'reset' of the cropping area based on the actual image size (rather than on the size of the canvas/div)
Did you find something to make it work ? Calling moveTo is not working for me, the minsize is still taking the container size and not real size of image..