Anyone has tried creating their own version of Image Cropper?
I've copied the original frontend stuff from Umbraco source (only changing the aliases and controller names) to a plugin folder, configured it and the editor works.
However it does not save the uploaded image in the database, do you know if there's something extra that I need to do to make that work?
Unfortunatelly I find it very hard to find any documentation related to that.
I've tried to extend the ImageCropperValueConverter, but after debugging I see that the code is not even being run.
public class ImageCropperSamValueConverter : ImageCropperValueConverter
{
public override bool IsConverter(IPublishedPropertyType publishedPropertyType)
{
return publishedPropertyType.EditorAlias.InvariantEquals("ImageCropperSam");
}
}
If you have any experience with this I would really appreciate some advice.
Creating a custom Image Cropper in Umbraco 8
Hi.
Anyone has tried creating their own version of Image Cropper?
I've copied the original frontend stuff from Umbraco source (only changing the aliases and controller names) to a plugin folder, configured it and the editor works.
However it does not save the uploaded image in the database, do you know if there's something extra that I need to do to make that work?
Unfortunatelly I find it very hard to find any documentation related to that.
I've tried to extend the ImageCropperValueConverter, but after debugging I see that the code is not even being run.
If you have any experience with this I would really appreciate some advice.
Thanks!
is working on a reply...