Web Page Help
- Boltrig
-
Boltrig
- Member since: Mar. 17, 2006
- Offline.
-
- Forum Stats
- Member
- Level 17
- Blank Slate
Im adding a new section to my site for gigs Ive been to.
What I want to do is have 3 thumbnails in each row, linked to the full sized picture.
Ive got the thumbnails part down, but I cant get the linked picture to work.
Can anyone tell me the code for linking to a file on the server. (a href"adress") (/a) doesnt seem to be the right code. (i know its < > and not ( ) )
Thanks in advance.
- condawg
-
condawg
- Member since: Jan. 28, 2006
- Offline.
-
- Forum Stats
- Member
- Level 13
- Gamer
it's (a href="website")link/picture(/a) with alligator mouths < >
- Boltrig
-
Boltrig
- Member since: Mar. 17, 2006
- Offline.
-
- Forum Stats
- Member
- Level 17
- Blank Slate
I tried that one.
I dont know if I was clear in what Im trying to do.
I have a 1280 x 960 picture on my server, and the thumbnail is a direct resize of that file.
What I want to do is have the clickable thumbnail open the 1280 x 960 file direct from the server.
- condawg
-
condawg
- Member since: Jan. 28, 2006
- Offline.
-
- Forum Stats
- Member
- Level 13
- Gamer
At 4/23/07 08:50 PM, Boltrig wrote: I tried that one.
I dont know if I was clear in what Im trying to do.
I have a 1280 x 960 picture on my server, and the thumbnail is a direct resize of that file.
What I want to do is have the clickable thumbnail open the 1280 x 960 file direct from the server.
Okay, I'll make a hypothetical to explain better.
thumbnail.jpg and
full.jpg
These are the thumbnail and full, hypothetically, named respectively.
You would want to do
<img src="thumbnail.jpg">
- Bizarro
-
Bizarro
- Member since: Dec. 6, 2002
- Offline.
-
- Forum Stats
- Member
- Level 22
- Blank Slate
so you want the thumbnails linked to the image right...then do like this
(a href="location/of/picture.jpg")(img src="image/thumnail.jpg" alt="thumb")(/a)
replace ( ) with < > of course
- condawg
-
condawg
- Member since: Jan. 28, 2006
- Offline.
-
- Forum Stats
- Member
- Level 13
- Gamer
At 4/23/07 08:56 PM, condawg wrote: You would want to do
<img src="thumbnail.jpg">
Damn.
Sorry for double post, accidently used alligator mouths.
(a href="full.jpg")(img src="thumbnail.jpg")(/a)
^^ That's what you want.
- Momo-the-Monkey
-
Momo-the-Monkey
- Member since: Oct. 15, 2005
- Offline.
-
- Forum Stats
- Member
- Level 45
- Musician
or you could just link to the large version of the picture and make it smaller using width and height in the img tag itself. Like so:
<a href="picture.gif"><img src="picture.gif" width="50px" height="50px" /></a>
- henke37
-
henke37
- Member since: Sep. 10, 2004
- Offline.
-
- Forum Stats
- Member
- Level 30
- Blank Slate
Bad idea.
Thumbnails is used to save bandwidth, both for the hoster and the visitor.
Using html to downsize an image does not shrink the file that is sent over the wire at all
Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.
- smulse
-
smulse
- Member since: Mar. 24, 2005
- Offline.
-
- Forum Stats
- Member
- Level 31
- Blank Slate
At 4/24/07 01:38 AM, henke37 wrote: Bad idea.
Thumbnails is used to save bandwidth, both for the hoster and the visitor.
Using html to downsize an image does not shrink the file that is sent over the wire at all
Yeah it'll also probably be of a poor quality. You should make a seperate thumbnail.

