[Cropper Library] Fix size of Crop box
Reactive icon
Forge component by Labs

Can we give a fixed size to the crop box.

Hello Malalai,

I believe, to do so, you need to set the following options:

cropBoxResizable: false,

minCropBoxWidth: 48,

minCropBoxHeight: 48

(to the width or height you wish)


Pedro Inácio

Hello Pedro, 

Where did you find those variables in the Cropper Library component ?

Thank you, 

Aubane Henry

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.