Just seen you can replace the upload (umbracoFile) on the image media type. However it says in the documentation that your old images remain in place yet now i have changed the media type I've lost all my images that had been uploaded.
Any ideas why? Does it only save the image on a document type and not media?
You should not change the alias ("umbracoFile") just change the property type to a Cropper data type, now you will need to save each existing media item and update your output Razor.
I hadn't changed the alias. I did as directed in the docs and replaced the upload control with the same alias - but the images i had already uploaded disappeared. Not to worry though. Was a new site so i just added them again... no biggy. Might be an issue for someone else though with a lot of images.
Is it possible to use the Image Cropper with media library
Or can it only be used if added as a property on a docType?
Just seen you can replace the upload (umbracoFile) on the image media type. However it says in the documentation that your old images remain in place yet now i have changed the media type I've lost all my images that had been uploaded.
Any ideas why? Does it only save the image on a document type and not media?
I think the syntax for getting your image is different when you are using the cropper
You can find the documentation here : http://our.umbraco.org/documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors-v7/Image-Cropper
Dave
Hi Damian,
You should not change the alias ("umbracoFile") just change the property type to a Cropper data type, now you will need to save each existing media item and update your output Razor.
Jeavon
HI,
I hadn't changed the alias. I did as directed in the docs and replaced the upload control with the same alias - but the images i had already uploaded disappeared. Not to worry though. Was a new site so i just added them again... no biggy. Might be an issue for someone else though with a lot of images.
Thanks Damian
is working on a reply...