The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Image that link to a page

5 posters

Go down

Image that link to a page Empty Image that link to a page

Post by Fuppiz May 24th 2012, 4:32 am

Hello,

i need some help with something. i wan to make a clickable image that will link the user to a page for example i use :

img (external url)

url www(dot)google(dot)com

i wan that in a post on forum the image become clickable how do i do it? and it is posible ?

tnx w8ting a answer.

___________________________________________
~~~Fuppiz~~~
avatar
Fuppiz
New Member

Posts : 4
Reputation : 1
Language : English

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by Stephen- May 24th 2012, 4:56 am

Hello,

Try this code:

Code:
<a href="link here"><img src="link image here">

Stephen-
Stephen-
Hyperactive

Male Posts : 2542
Reputation : 326
Language :

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by runawayhorses May 24th 2012, 4:57 am

Yes its very possible, add your image URL and the page URL to this code:

Code:
[url=URL OF PAGE DESTINATION][img]URL OF IMAGE[/img][/url]
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by Sir Chivas™ May 24th 2012, 6:00 am

Hi, Hello

To make it clear. Raizen's code is for an HTML PAGE. & Runawayhorses, is for posts. Which you use BBcoding.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6983
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by NikkoBryan14 May 24th 2012, 7:59 am

Raizen wrote:Hello,

Try this code:

Code:
<a href="link here"><img src="link image here">


This code isn't right.

I think it should be like this

<a href="SITE URL HERE"><img src="IMAGE LINK"></a>


Smile
NikkoBryan14
NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by runawayhorses May 24th 2012, 12:15 pm

They said they wanted it for a "post on a forum" and BBcode is enabled already by default for posts, so my code is the one they were looking for. However, if they enable html in AP the html code will of course work too. Raizen's html code was missing the </a> ending tag.

On my forum I have both HTML and BBcode enabled. We have Video sections where members post videos from YouTube and other video sites, and you have to have HTML enabled in order to post videos. Not just videos, but many other things as well. My forum has been HTML enabled from day 1.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by NikkoBryan14 May 24th 2012, 12:37 pm

That's what I mean so I correction it. Wink
NikkoBryan14
NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

Image that link to a page Empty Image that link to a page

Post by Fuppiz May 24th 2012, 11:11 pm

Tnx all you realy helped me out Smile

Signature Removed
avatar
Fuppiz
New Member

Posts : 4
Reputation : 1
Language : English

Back to top Go down

Image that link to a page Empty Re: Image that link to a page

Post by runawayhorses May 24th 2012, 11:48 pm

You're welcome!
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Back to top

- Similar topics

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