I want to use the Image Cropper to override the umbracoFile of an Image MediaType. What's the best way to do this? Currently I've got the following idea:
1 Have a checkbox above the crop datatype. 2 If the checkbox is checked override the umbracoFile in the media beforesave event. 3 Set the checkbox to false again because the umbracoFile has been overriden and this should only be done if the user decides to override the umbracoFile again.
Sounds good or does someone have a better suggestion?
Use Image Cropper to override umbracoFile
Hello,
I want to use the Image Cropper to override the umbracoFile of an Image MediaType. What's the best way to do this? Currently I've got the following idea:
1 Have a checkbox above the crop datatype.
2 If the checkbox is checked override the umbracoFile in the media beforesave event.
3 Set the checkbox to false again because the umbracoFile has been overriden and this should only be done if the user decides to override the umbracoFile again.
Sounds good or does someone have a better suggestion?
Jeroen
is working on a reply...