Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aniej

macrumors 68000
Original poster
Oct 17, 2006
1,743
0
I think this is probably pretty basic for experienced web designers, but how would I go about making an image clickable as if it were a text link so that when it is selected it directs the user to the desired location?
 
Well, find your <img> code, and before it type <a href="URL you want to go to"> and after it type </a>

You might also want to put border="0" into the inside of the <img> tag, so it would be:

<img src="blah.jpg" border="0">
 
Opps ok I clearly left an important part out, I don't know anything about programing. So if you have the time and want to explain it to me I would really appreciate it. I am including the image I have and the website link I wanted to link it to.

This is the link I wanted to use: http://video.nbc10.com/player/?id=63526
 

Attachments

  • Milton Street.jpg
    Milton Street.jpg
    25.5 KB · Views: 58
Opps ok I clearly left an important part out, I don't know anything about programing. So if you have the time and want to explain it to me I would really appreciate it. I am including the image I have and the website link I wanted to link it to.

This is the link I wanted to use: http://video.nbc10.com/player/?id=63526

I assume that you're trying to do this on a webpage with html. It sounds as if you might be a little out of your league trying to hand code it though. Anyway here's the code you need for that image:

<a href='http://videwo.nbc.com/player/?id=63526'><img src='blah.jpg' border='0'></a>

blah.jpg needs to be the address of your image.

EDIT: It just occurred to me that you might be trying to create a link on this forum. If that's the case that code won't work... let us know if we misunderstood you.
 
So you're looking to do this?



Here's the code for it:

[URL="http://video.nbc10.com/player/?id=63526"][IMG]http://www.mremw.com/MR_Images/Milton%20Street.jpg[/IMG][/URL]

Note that the html code will be different (see above) but the idea is the same.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.