Forums
This topic is locked
Hidding images with a broken link
Posted 17 Feb 2003 13:39:21
1
has voted
17 Feb 2003 13:39:21 Mat Burhouse posted:
Anyone know if there's a way in asp to hide an image if the link is broken??I've got product database with 3000 products and images for about half of them, I'm looking for an easy way out, my alternative is manually going through the DB.
Also I don't have a separate field for the image name - i'm using the product code and appending .jpg so conditional region is out of the window!
Any ideas greatly appreciated!
Edited by - ruse on 17 Feb 2003 13:43:39
Replies
Replied 17 Feb 2003 14:16:49
17 Feb 2003 14:16:49 Mat Burhouse replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Anyone know if there's a way in asp to hide an image if the link is broken??
Ah, found a way if anyone else needs to know this check out www.developerfusion.com/show/1608/ very handy bit of code (can't paste it here as it's got html tags)
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Anyone know if there's a way in asp to hide an image if the link is broken??
Ah, found a way if anyone else needs to know this check out www.developerfusion.com/show/1608/ very handy bit of code (can't paste it here as it's got html tags)
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>