How about writing a method that uses the MediaService to traverse the media tree(s)? The GetRootMedia and GetDescendants methods of the MediaService should help.
Hey James,
We have a similar problem on a site of ours. Here's a gist of a dashboard tool (Fair warning: it's not glamourous code) which we used in such cases. A click of a button and it would resave all nodes.
It seems to do the trick to add them all back again.
Re-Save all images
Hello,
Is anybody aware of a way i can go through the whole of my media section and save each image again without doing it manually?
It seems to be the only way to fix an issue we are having with images displaying in the back end after upgrading.
Thanks and kind regards,
James.
Hi James,
How about writing a method that uses the MediaService to traverse the media tree(s)? The GetRootMedia and GetDescendants methods of the MediaService should help.
Hi James,
Have you tried deleting your umbraco.config file in App_data? That might fix the issue for you.
Failing that, I'm pretty sure that this Crop Healer package will sort your media files problem for you:
https://github.com/Jeavon/Umbraco-Crop-Healer
Thanks,
Maff
I cannot use crop healer im on version 6.
I will have to try umbraco.config.
I have done a republish using the republish url this hasnt worked though
Does anyone else know how to do this? Deleting umbraco.config hasnt worked
Sometimes images don't show up due to Examine index corruption, try rebuilding your indexes in the developer section.
Hey James,
We have a similar problem on a site of ours. Here's a gist of a dashboard tool (Fair warning: it's not glamourous code) which we used in such cases. A click of a button and it would resave all nodes.
It seems to do the trick to add them all back again.
Thanks,
Jamie
In the end deleting the examine indexes and restarting the site fixed it. Strangely enough.
is working on a reply...