image not showing

liunx

Guest
i'm danged if I can get this code to work to show the thumb and image <br />
a href=http://www.htmlforums.com/archive/index.php/"wallace.jpg"><img src="wallacetn.jpg" width=120 height=89 border=0 alt="click for larger wallace"></a<br />
<br />
I've left off the tags so you can see the code. this should show a thumbnail which you click on to get to the larger pic.<br />
<br />
the thumbnails are in web/images/thumbnails and the other images are in images...the thumbs aren't showing and I've tried every variation of the path I could think of<!--content-->First of all, you can use the open and close tags.<br />
<br />
The anchor looks to be well formed and correct, however you could use a couple of " around the pixel details. i.e. width="120" although this won't sort your problem.<br />
<br />
I can only assume that you have one of 3 problems or a combination of.<br />
1) The url's are very possibly wrong.<br />
2) The image names are wrong.<br />
3) The images are corrupt.<br />
<br />
I think more than anything that your problem is number 1.<br />
Perhaps the src should be <br />
<img src=http://www.htmlforums.com/archive/index.php/"/images/thumbnails/wallacetn.jpg"><br />
<br />
The a href perhaps should be similar to the above...<br />
<a href=http://www.htmlforums.com/archive/index.php/"/images/wallace.jpg">blah</a><br />
<br />
These urls will only work if the *.htm / *.html file is placed in the dir called "web".<br />
<br />
So to sum up the full url will be...<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"/images/wallace.jpg"><img src="/images/thumbnails/wallacetn.jpg" width="120" height="89" border="0" alt="click for larger wallace"></a><br />
<br />
Hope that works...<!--content-->You don't appear to be including the image paths. Try:<br />
<a href=http://www.htmlforums.com/archive/index.php/"/web/images/wallace.jpg"><img src="/web/images/thumbnails/wallacetn.jpg" width=120 height=89 border=0 alt="click for larger wallace"></a><!--content-->
 
Back
Top