Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Umbraco Forum.
I would like to zoom out with the image cropper so that I can have a specific crop and make the image fit the specific crop.
For example: I have a crop 300px x 200px. My picture is 300px x 300px.
I would like my picture to fit the crop. Is there a way to do that with the image cropper?
Regards Malthe.
Yes, use the crop mode Pad. Like img.jpg?width=300&height=200&mode=pad.
You can also define crop mode when you use .GetCropUrl(). Add the parameter imageCropMode and set it to Pad.
Hey Søren! Sorry I haven't replied earlier! Thank you so much for the help.
Im using the .GetCropUrl, but still can't get it to work. Could you maybe give an example on how to use it on .GetCropUrl?
Regards Malthe!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Image cropper zoom out
Hi Umbraco Forum.
I would like to zoom out with the image cropper so that I can have a specific crop and make the image fit the specific crop.
For example: I have a crop 300px x 200px. My picture is 300px x 300px.
I would like my picture to fit the crop. Is there a way to do that with the image cropper?
Regards Malthe.
Yes, use the crop mode Pad. Like img.jpg?width=300&height=200&mode=pad.
You can also define crop mode when you use .GetCropUrl(). Add the parameter imageCropMode and set it to Pad.
Hey Søren! Sorry I haven't replied earlier! Thank you so much for the help.
Im using the .GetCropUrl, but still can't get it to work. Could you maybe give an example on how to use it on .GetCropUrl?
Regards Malthe!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.