mplungjan your code would show a notfound image for every image which would be over 100 images. I only want to display the image if it exists. Right now the code hides the image if it doesn't exits but really it still gets loaded. Ideally the no image would display if no images are found and only the main image would be the noimage.gif.
Main Topics
Browse All Topics





by: mplungjanPosted on 2006-06-09 at 08:10:06ID: 16870992
Can't you turn the test?
='block' d.gif'" width="225" align="middle" border="0" name="large<%=x%>" hspace="0" vspace="4">
<img style="display:none" src="<%=mainimage%>" onLoad="this.style.display
OnError="this.src='notfoun