Img Src Not Found - How To Detect?

  • Thread starter Thread starter Earl Partridge
  • Start date Start date
E

Earl Partridge

FP 2000, Windows XP
How can I detect when an image is not found? I want to display
something other than that Red X, perhaps search for another
image.
 
I don't remember if FP 2000 had this feature or not, but look for a broken
link report. It should list all image links that can't be resolved. There is
no other way that I've ever seen for replacing the Red X as that is a
function of the browser when an image file cannot be found and not the web
site.
 
The only other way would be to use server-side scripting, like ASP, to look
for the image on the server first and if found show the IMG tag otherwise
show a custom message.
 
Back
Top