Ryoutaru
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Tut] How to link a picture to a website

3 posters

Go down

[Tut] How to link a picture to a website Empty [Tut] How to link a picture to a website

Post  e1o14 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: https://2img.net/r/ihimizer/img524/8439/ryoutarulogomain.jpg
[Tut] How to link a picture to a website Ryoutarulogomain

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

Back to top Go down

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

Post  Raddy Sun Jul 05, 2009 12:02 pm

Thats pwnage mate, thanks alot Very Happy

x
Raddy
Raddy
Admin
Admin

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

http://ryoutaru.roflforum.net

Back to top Go down

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

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

Nice
[DogG]
[DogG]
Newb
Newb

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

Back to top Go down

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

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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