What is This All About?

When you participate on forums discussions, sometimes to type plain text would make it, but often, you need to make your posts more interesting: to add styles, change fonts, play with colors, insert links or to display images ...

In web development, HTML is used for all that, but in forums posts, a simplified code inspired from it allows users to format text, that code's called the "bbCode".

This blog will help you easily understand & use bbCode. Have Fun!!! :)

ps: don't hesitate to post a comment for any help needed or a suggestion, or just to say hi! :)

Friday, September 21, 2007

How to Make Images Clickable - bbCode Basics

This is very useful in forums allowing their users to advertise their sites or businesses, as they can display banners in their posts or signatures, & link those images to their sites.

To make a picture clickable, you need two tags we already saw, the [url] tag (learn about it here: How to Insert Live Links) & the [img] tag we saw in detail in three lessons starting from this one: How to Insert Images in Posts - Part 1.

We learned also previously that two or more tags can be combined provided that the tag started first ends last (read more about that here: How to Correctly Insert Tags).


Now that you know all that, you may have guessed at least partly how to post a linked (or clickabl)e image. Here are the steps needed:

1. The use of [img] tag:


Wrap the image link with the [img] tag, let's use again Google Logo image (see it also HERE then HERE) as an example:

[img]http://www.google.com/intl/en_ALL/images/logo.gif[/img]

Result:



2. The use of [url] tag:


OK! Now that we have our image link wrapped, we need to wrap the whole (link + tag) with the [url] tag & add the link we want to link the image to as an option.

Let's use Google.com (http://google.com/) as an example:

[img]http://www.google.com/intl/en_ALL/images/logo.gif[/img]

to: (There shouldn't be a line-break in your code!)

[url=http://google.com/][img]http://www.google.com/intl/en_ALL/
images/logo.gif[/img][/url]

and finally:



Any questions? Please post a comment :)

22 comments:

changwoua said...

thanks very helpful

Mumu said...

You're welcome, happy to know the tut is clear :)

Anonymous said...

thx a lot, it works well

Anonymous said...

it aint working 4 me i tryed it and i get lost when i need to put da ulr code

Anonymous said...

thanks. -squidzo5

Maggie said...

Thank you so much!
Exactly what I was looking for!

Mounir said...

thnkx , this is very helpful
www.wow7.info

Nick said...

Awesome! Simple and really useful! :)

Emily said...

It doesn't work 4 me, every time I try to post it, it only shows clickable text, not a clickable image. this is what im using:

[url=]http://dragcave.net/user/ShinyPikachu[img][/img]http://i434.photobucket.com/albums/qq65/ElmTreeKinz/MyScroll.jpg[/url]


It doesnt work on my siggy.

Mumu said...

This should work:

[url=http://dragcave.net/user/ShinyPikachu][img]http://i434.photobucket.com/albums/qq65/ElmTreeKinz/MyScroll.jpg[/img][/url]

If it doesn't send me an email: contactmumu@gmail.com

Emily said...

Oh, thanks! I really needed that clickable! :-D

Anonymous said...

[url=http://www.pokeplushies.com/feed/873484][img]http://img233.imageshack.us/my.php?image=signatureym9.png[/img][/url]
Nice :D

What was I thinking said...

Hey, could you use this in the header of your blog? Because I don't know how to put pics. on my header without them being giant...

Anonymous said...

I still dont understand how to make BBcodes

Joey said...

I can't get it to work for me :O(
[url=http://www.myspace.com/myahmusic][img]http://i3.photobucket.com/albums/y89/Joeyjojo69/myahmarie.jpg[/img][/url]
Am I missing something?

Anonymous said...

very helpfull!

Anonymous said...

I have some question,
And how to make a line of text in the signature, attached to a referral link, I mean, a text that says something as: "earn more here", then you click it and leads to a referral link. How to do that?

Anonymous said...

I have some question,
And how to make a line of text in the signature, attached to a referral link, I mean, a text that says something as: "earn more here", then you click it and leads to a referral link. How to do that?

rduht said...
This post has been removed by a blog administrator.
Ateletech said...

thanks it worked....I'm able to post signature with my banner and link on it on Forum sites...great..

Marif said...

Thank you so much, I couldn't figure where exactly to write the URL. Very clear and helpful!

Mumu said...

Welcome all :)

To the person asking about text links, please check the links category in the top sidebar.