How to cope with “broken” (not missing) images
-
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]
- The topic ‘How to cope with “broken” (not missing) images’ is closed to new replies.