[Cropper] Black background

[Cropper] Black background

  
Forge Component
(2)
Published on 11 Oct by OutSystems Labs
2 votes
Published on 11 Oct by OutSystems Labs
Hi,
When cropping an image that doesn't fit and it smaller than the cropping area, it sets the background to black. Is there some configuration/fix for this?

Regards,

Guilherme
Hi Guilherme,

Currently there's no way to change the fill color, without altering the component, but with a simple change you'll be able to do what you want. Just open the Cropper Web Block's javascript and find the GetCropperData function. There, add a parameter specifying a fillColor, like shown in the image below.