|
Posted by Cogito on 09/18/05 09:18
A daily graphic from another site is replicated in a page I'm building
like so:
<img src="http://www.---.com/pics/pic1.jpg">
The graphic, in the origination site changes several times a week and
always has the same file name, say, pic1.jpg. The problem is that on
certain days the graphic is not posted on the originating site at all.
This causes an ugly not found icon to show up in my page.
My question is: Is there some simple code that I can place around the
<img> tag that will test if the image is there. If there, display it
as before. If not, display a message 'image unavailable'.
Navigation:
[Reply to this message]
|