I'm using SilverStripe Cropperfield: https://github.com/willmorgan/silverstripe-cropperfield
There should be a way to set the aspect_ratio option to set the cropperbox to a certain size. The documentation however is not entirely clear on where to put this option.
Where can you set the options?
The 4th option of the constructor, when you instantiate the field.
https://github.com/willmorgan/silverstripe-cropperfield/blob/master/code/CropperField.php#L89
Hope the module helps you!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With