• Hi,

    after a website crash, we lost several images as the had not been in our backups for some reason. Till we can restore this manually by exchanging the “lost” image against a new one, we see in many “related articles” from Jetpack broken images. And also in other places like search results etc.

    The small script here: https://jeremy.hu/jetpack-missing-images-related-posts/ just deals if the article has no featured images. Can we achieve the same for “given” but physically missing images, too?

    Any idea if we can add some handling into the small code from Jeremy that checks if the image file is really available?

    This would help a lot. I am not a developer and acquainted with WordPress hocks and filters in detail. But if someone can suggest how to check for the image file I will be able to add it myself into the script.

    Thanks a lot!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • If it was me…

    I’d install the broken link checker plugin and let that find the broken image links where it can and then search the site itself for just the image name to see if search might find it for you and hit the editor from the broken link checker to then fix it.

    Oh, you might try the Wayback Machine for images before you give up and replace them.

    https://archive.org/web/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to cope with “broken” (not missing) images’ is closed to new replies.