Replace Broken link Images with Default Image - Possible?

Hi,

We've successfully completed our migration of 120,000 images (it took a while lol) and for the most part it's working very well.

We do have some instances where we have some broken images that we have linked to in articles. This was expected as those are actually no longer there :)

However, whilst doing this, I wondered if the following was possible.

eg on this page
http://www.spoilertv.com/2015/03/chicago-pd-episode-218-get-back-to-even.html

You will see some broken image links.

Each of these img src values look like this

http://www.spoilertv.co.uk/images/zp-core/i.php?a=Chicago PD/Season 2/Promotional Episode Photos/Episode 2.18 - Get Back to Even&i=NUP_167772_0075.JPG&s=100&c=1&cw=100&ch=100&q=100&t=1&wmk=!

Now that is fine and as I said expected.

Would it be possible somehow, I suspect through htaccess, that when it comes across a broken link that it instead displays a standard image. (Our image will say something like "The Thumbnail is currently missing, however clicking on me will load the correct page")

eg something like what tinypic do ( Screenshot http://tinypic.com/images/404.gif )

I'm not sure if there is a simple htaccess rule that could be written.

Any help, much appreciated.

Comments

Sign In or Register to comment.