This is an extremely simple plugin that uses jQuery to remove broken images from displaying on your pages.
Note that version 1 does not alter any content in the database, nor does it remove the image tags from the initial HTML output of the page, so it doesn’t stop 404 errors, nor does it benefit SEO or PageSpeed scores. It does, however, prevent the dreaded “broken image” icon from appearing in your pages, and in most cases it will remove the blank space some browsers allocate for images as they are loading.
Coming in version 2: We’ll be adding an admin tool to let you see a list of posts and pages containing broken images, along with a tool to automatically remove their
img tags from the database.
I installed and activated the plugin. Now what?
Does this plugin delete the image code from my page/post in the WordPress database?
“Remove Broken Images” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.المساهمون
1.3.0 – 2021.12.21
- Added handling for
imgtags inserted dynamically into the DOM via AJAX.
- Added minified
script.min.jsfile to reduce page payload.
1.2.0 – 2021.11.22
- Refactored all of the plugin’s logic into jQuery, eliminating the need for using
the_contentfilter to insert
1.1.0 – 2021.11.22
- Added separate
onerrorattribute to a function that will also remove parent
aelement and ancestor
.wp-captionelement from the DOM, in addition to the
1.0.0 – 2021.11.20
- Original version.