Broken Images WordPress Plugin Homepage

This plugin is designed to „fight“ the broken images on your WordPress powered site. It works by inserting a JavaScript snippet in the output HTML code of your pages, which attaches itself to the onError=“..“ events of the images, so if an image fails to load, this JS snippet is fired. You can customize what actions you want to perform on the broken images: hide them, style-them, replace them, etc – all this from the WordPress admin panel.



  1. Download the installation archive and uncompress
  2. Upload the unarchived folder to your plugins directory (this is wp-content/plugins/)
  3. Activate the plugin in your WordPress administration panel (this is the Plugins page)
  4. Configure the plugin from the Options page in the WordPress administration panel
  5. That’s it ;)


These are the (currently) available options for you to deal with the broken images once you have the wp-broken-images plugin installed.

  • Do nothing
  • Hide the broken images
  • Replace broken images with another one from a specified URL
  • Style the broken images by applying a CSS class to them

Available Options

Note: The „Put CSS class“ option replaces the broken images with a transparent one pixel (1x1) GIF image, in order to hide the nasty red cross with which all broken images are marked in Internet Explorer.

Coming Soon

OK, here’s the wish list with the future features:

  • add JS code mode: executing some JS code if an image fails to load
  • add CSS style mode: apply some snippet of CSS rules to an image if it fails to load
  • compose a log of the failed images (which image on which post) + run stats on those logs
  • do a gallery of nice images which to use for the swap mode
  • do a gallery of neat CSS classes which to use for the css mode


  • (September 18, 2007) The new version 0.2 is out!

    This release features minor bug fixes.

  • (September 18, 2007) Bogomil’s idea – let’s give him a friendly push!

    One of the coolest guys in Bulgarian Open-Source Community, Programming Community, Nerd Community, Geek Community, IT Community, etc. – Bogomil Shopov – decided to win a SEO contest and give the prize for charity. Let’s give him a hand by placing this little link here: Яицазимитпо лъгуг

  • (September 15, 2007) The page for the plugin si done!

    The wonderful page you are reading right now to help you
    deal with this plugin is out.

  • (September 8, 2007) The first release – version 0.1 is out!

    The first release of this plugin is out, hosted on Google Code.


Submit all your comments and bitter remarks in the comments form below. Good luck with the Broken Images WordPress Plugin! If you think you can handle Google Code, go and submit the bugs you’ve found (if any), and the ideas you have about improving this WordPress plugin at the Issue Tracker:

Or, use the feedback form for this plugin at

25 мнения за “Broken Images WordPress Plugin Homepage”

  1. Weird, I had to upgrade wp because it didn’t work with 2.1 then I had to upgrade feedwordpress because the upgrade broke it. Then broken images didn’t work anymore. If I turn off feedwordpres it works again.

  2. hi there .thanks for plugin:

    Does anybody know if tis script is compatible with WordPress 2.5.1 ?

    Thanks in advance for any help on this!

    best regards

  3. @baron: Yeah, I think it is – I have it working on on several blogs w/ 2.5 and 2.5.1; the UI seems funky, but it still works

  4. Hi,

    It’s a great plugin, and very helpful for my site–thank you! What I would really really like to do, though, is replace broken images with an image randomly taken from a folder of 5-10 images I provide to the script. Do you have any idea how I might put this together? Any help you can provide me would be most welcome.


    Steve Goerger

  5. Pingback: legal action
  6. Pingback: Our Webpage
  7. Pingback: try this out

Коментари са забранени.