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
I made a custom property editor that returns crop data in JSON format, exactly like the image cropper does. I read about value converters but can't figure out how exactly I can tell Umbraco to return the data in the form of ImageCropDataSet, like the imagecropper does. (So I can use the property in razor as if it was an image cropper, Model.croppedImage.Src for example)
I tried going through the code to see how Umbraco does this, but I can't apply this to my custom property editor.
Thanks in advance !
I figured it out, I made a class that inherited from the ImageCropperValueConverter and made some changes
public class CustomImageCropper : ImageCropperValueConverter
public override bool IsConverter(PublishedPropertyType propertyType)
return propertyType.PropertyEditorAlias == "CustomImageCropper";
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted