[Tut] How to link a picture to a website

Go down

[Tut] How to link a picture to a website

Post  e1o14 on Sun Jul 05, 2009 11:30 am

I always wondered how to make pictures that direct you to another site when you click them, now I know and it's actually simple.

1. Get a picture. I take one of Raddys caln pics: http://img524.imageshack.us/img524/8439/ryoutarulogomain.jpg


2. The link you get directed to when you link it. I'll take homepage link: http://ryoutaru.roflforum.net/forum.htm

3. The code:
Code:
<a href="The link"><img src="[color=red]Link of the pic[/color]"</a>
If I use my example, it'd be like this:
Code:
<a href="http://ryoutaru.roflforum.net/forum.htm"><img src="http://img524.imageshack.us/img524/8439/ryoutarulogomain.jpg"</a>
Without the [ code ], it looks like this: Note: Now you see that it's clickable, but it opens in the same window


4. To make the link appear in a new window, use this code:
Code:
<a href="The link" target="_blank"><img src="Link of the pic"</a>
My example:
Code:
<a href="http://ryoutaru.roflforum.net/forum.htm" target="_blank"><img src="http://img524.imageshack.us/img524/8439/ryoutarulogomain.jpg"</a>
The outcome: If you now click it, you see that it opens in a new window:


Last edited by e1o14 on Sun Jul 05, 2009 12:23 pm; edited 1 time in total

e1o14
Admin
Admin

Posts : 96
Reputation : 7
Join date : 2009-06-29
Age : 24

View user profile http://ryoutaru.roflforum.net

Back to top Go down

Re: [Tut] How to link a picture to a website

Post  Raddy on Sun Jul 05, 2009 12:02 pm

Thats pwnage mate, thanks alot Very Happy

x
avatar
Raddy
Admin
Admin

Posts : 81
Reputation : 5
Join date : 2009-06-30
Age : 26
Location : Wales

View user profile http://ryoutaru.roflforum.net

Back to top Go down

Re: [Tut] How to link a picture to a website

Post  [DogG] on Wed Jul 08, 2009 2:01 pm

Nice
avatar
[DogG]
Newb
Newb

Posts : 1
Reputation : 0
Join date : 2009-07-08

View user profile

Back to top Go down

Re: [Tut] How to link a picture to a website

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum