Forum Moderators: open
<img src=ftp://server/image.gif>
if error_image
redirect to image.gif (of local html page)
endif
Thanks.
Teresa
onload is invoked when an image is fully loaded.
onerror is invoked when an image tag refers to a corrupted file
onabort is invoked when the user interrupts the image load.
I believe (but I'm not sure about this) that onerror is also invoked if the image cannot be retrieved for the stated URI.
The complete property is false while the browser is trying to load the image.
However, complete becomes true when any one of the above three event handlers is invoked -- that is, just because image.complete is true doesn't mean there is an image to display, it just means that the browser has finished dealing with that bit of code.
Now there may be a solution for you in that tangle, but my brain seems too feeble right now to sort it out.