Use existing value converter with custom property editor ?
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.
Use existing value converter with custom property editor ?
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
is working on a reply...