As an exercise, I want to alter the functionality of an existing property editor in Umbraco (ImageCropper in my case), and add the altered property editor as a new custom made property editor residing in App_Plugins.
I've located and added the controller and view template of the Image Cropper in the folder of my custom property editor and changed the controller name to fit my own. These files are:
imagecropper.controller.js and imagecropper.html.
After trying it out, i am able to display the upload dialog, but it fails to show the image crop interface afterwards.
I am unsure what I am missing here to make this work.
Altering existing Property Editors
As an exercise, I want to alter the functionality of an existing property editor in Umbraco (ImageCropper in my case), and add the altered property editor as a new custom made property editor residing in App_Plugins.
I've located and added the controller and view template of the Image Cropper in the folder of my custom property editor and changed the controller name to fit my own. These files are:
imagecropper.controller.js and imagecropper.html.
After trying it out, i am able to display the upload dialog, but it fails to show the image crop interface afterwards.
I am unsure what I am missing here to make this work.
is working on a reply...