I wouldn’t normally add an image cropper property to a content item. I would use a Media Picker. This is because the Image Cropper is a property on the media item. It is how you can set the focal point and you see the crops next to it.
I’m curious to why you want to add an Image Cropper property to a block though.
Thanks for your response, Paul. I have a block for making a Bootstrap card. The block has properties URL picker for making the whole card a clickable link, media picker for top image and richtext editor for text.
An editor uploaded an image with its height larger than its width, which made the persons head on the image disappear. So that's why I want the editor to be able to change the focal point.
The image cropper needs a node (content, media, member etc.) in order to attach the uploaded image to, which is why it is not supported in blocks, as they are not nodes.
Image Cropper in blocks
When I add an Image Cropper to an element I get this error message:
"Property 'Image' uses editor 'Umbraco.ImageCropper' which is not supported in blocks."
Is there a workaround? Will this be implemented in future versions?
Hi
I wouldn’t normally add an image cropper property to a content item. I would use a Media Picker. This is because the Image Cropper is a property on the media item. It is how you can set the focal point and you see the crops next to it.
I’m curious to why you want to add an Image Cropper property to a block though.
Kind regards
Paul
Thanks for your response, Paul. I have a block for making a Bootstrap card. The block has properties URL picker for making the whole card a clickable link, media picker for top image and richtext editor for text.
An editor uploaded an image with its height larger than its width, which made the persons head on the image disappear. So that's why I want the editor to be able to change the focal point.
Hi Roger
The media picker can do the same.
The image cropper needs a node (content, media, member etc.) in order to attach the uploaded image to, which is why it is not supported in blocks, as they are not nodes.
Thank you Søren. I have tried to enable the focal point on the media picker, but no setting becomes visible in content.
is working on a reply...