Forums

[resolved] Automatically replace a broken image link (3 posts)

  1. nathan12343
    Member
    Posted 2 years ago #

    This is a bit of a long shot....

    Is there any way of programmatically spotting if an image link is broken for an reason and replacing it with a default? In my particular set up the image file will be called from a custom field and I am a little concerned that authors will not always type in the right file name.

    Thanks

  2. tugbucket
    Member
    Posted 2 years ago #

    I fyou want to use jQuery it's fairly easy:

    http://www.insideria.com/2009/03/jquery-quickie---broken-images.html

  3. nathan12343
    Member
    Posted 2 years ago #

    GENIUS!

    Perfect. Thanks sooo much for the speedy reply.

Topic Closed

This topic has been closed to new replies.

About this Topic