85
Views
3
Comments
[Cropper Library] Fix size of Crop box
Question
cropper-mobile
Reactive icon
Forge asset by Labs

Can we give a fixed size to the crop box.

2025-10-29 12-59-10
Pedro Inácio

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)


Regards,

Pedro Inácio


UserImage.jpg
Aubane Henry

Hello Pedro, 

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

Thank you, 

Aubane Henry

2025-12-05 14-31-51
Rodnei Villardo

Hi Aubane, 

You have to put this in the "Options" propertie and the best json format for that is:

"{""cropBoxResizable"":false, ""minCropBoxWidth"": 48,""minCropBoxHeight "": 48}"

Good Luck, 

Rodnei Villardo.



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