Hi Guys
Can anyone help me with this one?
Basically I am using the following script to pull in a url from a field called "Picturelink" in my databse table:
----------script-------------
response.write "<table>"
response.write "<tr><td width=131 width=40 background=mainblankpic.gif><img height=65 src=" & picturelink & " width=88 border=0></td</tr>"
response.write "</table>"
---------end------------
The "picturelink" field simply contains a url which points to an image on my web server. However, sometimes the url in the "picturelink" field, which point to the images, are incorrect and therefore I get one of those red crosses where the image should be.
I have used the following script to get around this type of problem before but I am unable to incorporate it into the above script.
<IMG Src="mysite/images/noimagethere.jpg" style="display: none;" onLoad="this.style.display='inline';">
Has anyone got any ideas how I can stop the red cross from appearing when there are no images present or even perhaps have a better solution?
Any help would be fully appreciated
best regards
Rod from the UK