PDA

View Full Version : Linking To An Image....LOL


Silver Rabbit
December 1st, 2002, 10:40 AM
Can't believe I can't get this to work....:uhoh:

K, I have a Thumbnail Image, and when I click on it, I want it to take you to the full sized image.
So I have the Thumbnail Image, Lined to the Larger Image, like so
"<a href="234.png">Thumb1</a>" all are in the same folder.

I never remember having to make a seperate page for the larger Image.

Help me,,,,Please:(

degsy
December 1st, 2002, 12:30 PM
What browser version are you using? Make sure that it supports PNG files.

Steven.Bentley
December 1st, 2002, 07:31 PM
You would need to replace Thumb1 in the example code you gave with an img tag for your thumbnail ;)

Spider
December 2nd, 2002, 01:28 AM
A link like this

<a href="big.gif"><img src="thumbnail.gif" alt="nice picture" border="0">

will show a thumbnail (thumbnail.gif) and when clicked on open
up big.gif in the same browser. This requires a surfer to use
the back button to get back to the original page. Not really a
good way to show pictures. Personally I think its better to either
show the picture on the same page or pop it up in a stripped browser (no menu, buttons, statusbar, etc.)
Then that way all they have to do is close the popup and the original page is still there.

Like degsy was sayin' many people aren't able to open *.png
it will open up a download dialog instead. Converting to *.jpg
or *.gif would be a better idea. All browsers can deal with those
standards.