I'm using the Image Cropper in an Umbraco 7.1.4 installation.
I've used the umbracoFile alias on the Image media-type. So instead of the standard upload field are we now using the Image Cropper.
The website has been running some time without the Image Cropper - so there are alot of images that are created through the standard uploadfield.
So now I need to check whether the image has been saved with the image cropper datatype embedded or not. Otherwise I'll have to manually save ALL images, so all the images returns the Image Cropper JSON in the umbracofield.
Interesting, I have been working on a healing helper which will populate with default cropper JSON when a GetCropUrl method is requested for a cropper but the JSON is missing. I'm planning on adding it to Slimsy but it could be used elsewhere as well. I'll keep you posted with progress :-)
Image Cropper - Razor and how to verify
Hi there,
I'm using the Image Cropper in an Umbraco 7.1.4 installation.
I've used the umbracoFile alias on the Image media-type. So instead of the standard upload field are we now using the Image Cropper.
The website has been running some time without the Image Cropper - so there are alot of images that are created through the standard uploadfield.
So now I need to check whether the image has been saved with the image cropper datatype embedded or not. Otherwise I'll have to manually save ALL images, so all the images returns the Image Cropper JSON in the umbracofield.
I've made a quick fix:
And in XSLT I've solved it by doing the following:
Thank you for your time.
Interesting, I have been working on a healing helper which will populate with default cropper JSON when a GetCropUrl method is requested for a cropper but the JSON is missing. I'm planning on adding it to Slimsy but it could be used elsewhere as well. I'll keep you posted with progress :-)
is working on a reply...