In the Umbraco 7 native Image Cropper, it seems that I have to upload the file again (not like in the old days, where it took the file from umbracoFile).
Does anybody know what happens if I remove umbracoFile and replace with imagecropper?
My client have allready 500+ images uploaded and assigned to products, but now they want cropped files. So is there an easy way, or is there another Image Cropper? :)
I think you need to switch umbracoFile from upload to ImageCropper, then you can install my Crop Healer package and hopefully it will update all of the images for you.
I would highly recommend backing up your database first and trying the process on a development environment first before running in production.
Yes it does. Also if you already have a ImageCropper but change the prevalues, e.g. the size of a predefined crop, it will go through and update all of the json throughout
Well, when you initially change it over from Upload to ImageCropper the GetCropUrl also has a string extension method so it defaults to using that on the non-updated properties before they are switched to using json when a item is saved.
Depends on your implementation if that is going to be a issue or not...
Image Cropper for umbracoFile
Hi people
In the Umbraco 7 native Image Cropper, it seems that I have to upload the file again (not like in the old days, where it took the file from umbracoFile).
Does anybody know what happens if I remove umbracoFile and replace with imagecropper?
My client have allready 500+ images uploaded and assigned to products, but now they want cropped files. So is there an easy way, or is there another Image Cropper? :)
Cheers
Peter
Hi Peter,
I think you need to switch umbracoFile from upload to ImageCropper, then you can install my Crop Healer package and hopefully it will update all of the images for you.
I would highly recommend backing up your database first and trying the process on a development environment first before running in production.
Jeavon
So what does the Crop Healer do? Change all the values from a url-string to the imagecropper json, without losing the url? :)
Yes it does. Also if you already have a ImageCropper but change the prevalues, e.g. the size of a predefined crop, it will go through and update all of the json throughout
You will of course need to update your render code to use GetCropUrl if you want to utilise the new crop
Hi Jeavon
It seemed to work :) Actually I don't know if I needed the Crop Healer package, but I can't hurt i guess :)
Thank you :)
/Peter
Well, when you initially change it over from Upload to ImageCropper the GetCropUrl also has a string extension method so it defaults to using that on the non-updated properties before they are switched to using json when a item is saved.
Depends on your implementation if that is going to be a issue or not...
I realize this thread is very old, but I don't see a way to switch the datatype of my field on my Media itemtype. Is that even possible?
is working on a reply...