Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Related articles: how to check (and replace) if an image file is missing?

  • Resolved HabD

    (@habd)


    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.

    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!

    • This topic was modified 3 years, 2 months ago by HabD.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hi @habd,

    Per our Scope of Support, this isn’t going to be something we can assist with, but you might have some luck on the general WordPress forums.

    Otherwise, you may need to hire a WordPress contractor to have a look for you.

    I’d also recommend chasing down some answers on why the images are missing from your backup — perhaps that service might have a solution for you?

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Related articles: how to check (and replace) if an image file is missing?’ is closed to new replies.