I've been importing content from an older instance of umbraco into a new one, in order to rebuild the website. I've got the content and media data imported just fine.
The issue I'm having is the media section in the back office, media pickers, and trying to call the media pickers from the front end view do not work.
I'd like to point out that RTE's are working and their imagery is showing in both the view and back office eidotrs.
Media section not working with CDN
Hi.
I've been importing content from an older instance of umbraco into a new one, in order to rebuild the website. I've got the content and media data imported just fine.
The issue I'm having is the media section in the back office, media pickers, and trying to call the media pickers from the front end view do not work. I'd like to point out that RTE's are working and their imagery is showing in both the view and back office eidotrs.
I've followed this to a tee (multiple times) https://github.com/JimBobSquarePants/UmbracoFileSystemProviders.Azure
The error i get when trying to access media in the back office:
NetworkError: 404 Not Found - http://[mywebsite]/umbraco/backoffice/UmbracoApi/Media/GetById?id=116299
In the view, umbraco just returns nothing when using razor to try and display an image.
If i print out the
articleImages
field, i do have the comma seperated ID's as expected.Has anyone got any isnight for me?
Thanks.
UPDATE:
I've fixed the 404'ing issue. It was due to the fact that the versions hadn't inported into cmsContentVersion table in the database...
Now i'm at a point where the media section is working, just that the images arent showing, as well as the info about said image.
I've figured out the issue here (i think) but i don't know what to do to resolve it.
The old images are saved in a different way, since the media section only recently adopted the image cropper as its default way to upload media.
old:
VS new:
As you can see, the file data is different. The older version just being a url and the new one being json.
Is there any sort of repair for old imagery? surely there would have been something for when upgrading umbraco version?
is working on a reply...