Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • James 251 posts 1169 karma points
    Jun 18, 2015 @ 12:34
    James
    0

    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.

  • Steven Harland 78 posts 518 karma points c-trib
    Jun 18, 2015 @ 12:43
    Steven Harland
    1

    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.

  • Maff 141 posts 465 karma points
    Jun 18, 2015 @ 12:53
    Maff
    1

    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

  • James 251 posts 1169 karma points
    Jun 18, 2015 @ 13:15
    James
    0

    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

  • James 251 posts 1169 karma points
    Jun 18, 2015 @ 13:39
    James
    0

    Does anyone else know how to do this? Deleting umbraco.config hasnt worked

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 18, 2015 @ 15:34
    James Jackson-South
    100

    Sometimes images don't show up due to Examine index corruption, try rebuilding your indexes in the developer section.

  • Jamie Pollock 174 posts 853 karma points c-trib
    Jun 18, 2015 @ 16:09
    Jamie Pollock
    1

    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

  • James 251 posts 1169 karma points
    Jun 22, 2015 @ 14:25
    James
    0

    In the end deleting the examine indexes and restarting the site fixed it. Strangely enough.

Please Sign in or register to post replies

Write your reply to:

Draft