Bitcoin Forum

Other => Beginners & Help => Topic started by: trader34 on June 01, 2018, 01:00:32 AM



Title: How to link an URL to an image - a quick guide
Post by: trader34 on June 01, 2018, 01:00:32 AM
Recently, I was searching how to insert in the forum a hyperlink directly to an image, so that when you click the image it connects you directly to the link of the site you want.

I want to share with you guys this information, that I discovered after a few attempts.

As you know, to insert a hyperlink, you just have to use this code:

Code:
[url]'put the link you want here'[/url]


or, if you want to use an anchor, so connect the link to a word or a phrase, for example, BITCOINTALK (https://bitcointalk.org/), this is the code:

Code:
[url=https://bitcointalk.org/]BITCOINTALK[/url]

So, you have to manually add " = " after 'url' followed by the link you want to add.


To insert an image in the forum, you have to use this code:

Code:
[img]'put the link to the image here'[/img]

inserting the image link to an external site where you have previously uploaded the image. I personally use IMGUR: https://imgur.com/ (https://imgur.com/)


Ok, now, how to connect an URL to an image?

This will be the code:

Code:
[url='put here the site URL you want to connect to the image'][img]'put the image URL here'[/img][/url]


Let's make an example. I want to link this bitcoin image to the bitcointalk forum main URL:

https://i.imgur.com/y6GUFCa.jpg (https://bitcointalk.org/)


Now, if you click the image, you will be redirected to the main page of the bitcointalk forum.

This is the code of the example:

Code:
[url=https://bitcointalk.org/][img]'image URL'[/img][/url]


That's it. I hope this information is helpful  ;)






Title: Re: How to link an URL to an image - a quick guide
Post by: Vod on June 01, 2018, 01:18:36 AM
Next in Meta - how to bold your text!   ::)


Title: Re: How to link an URL to an image - a quick guide
Post by: hoanghai101296 on June 01, 2018, 02:06:45 AM
Next in Meta - how to bold your text!   ::)
How to bold text:
 Use : https://bitcointalk.org/Themes/custom1/images/bbc/bold.gif
For example:

Code:
[b]Vod (Legendary)[/b]

Will show:
Vod (Legendary)



Title: Re: How to link an URL to an image - a quick guide
Post by: Husna QA on June 01, 2018, 02:30:07 AM
-snip-
::)

Quote
How to link an URL to an image - a quick guide
I've seen some topics like this.
Here are some similar links (https://cse.google.com/cse?cx=016660200577587308545%3Aesf40ml9aag&ie=UTF-8&q=add+image&sa=Google+search#gsc.tab=0&gsc.q=add%20image&gsc.page=1) that I found:
https://bitcointalk.org/index.php?topic=2958771.0

Why not join the discussion on an existing thread?


Title: Re: How to link an URL to an image - a quick guide
Post by: TradeOne on June 01, 2018, 10:12:46 AM
Hello, the topic is useful, but it is better to continue in a similar topic, and not start a new one  :)


Title: Re: How to link an URL to an image - a quick guide
Post by: vphasitha01 on June 01, 2018, 05:59:40 PM
-snip-
::)

Quote
How to link an URL to an image - a quick guide
I've seen some topics like this.
Here are some similar links (https://cse.google.com/cse?cx=016660200577587308545%3Aesf40ml9aag&ie=UTF-8&q=add+image&sa=Google+search#gsc.tab=0&gsc.q=add%20image&gsc.page=1) that I found:
https://bitcointalk.org/index.php?topic=2958771.0

Why not join the discussion on an existing thread?
I joined this forum very recently and I also made this kind of post(but it actually has almost all the BB coding tips)[Tips]Bulletin Board Codes (https://bitcointalk.org/index.php?topic=4330176.msg38815915#msg38815915) But now I have realized I should have joined to a discussion on an existing thread(actually in that time I didn't know very much about "search" function) Luckily now I know what should I do before posting :)


P.S- I have already used your (Husna QA) post as reference as well.


Title: Re: How to link an URL to an image - a quick guide
Post by: petyang12 on June 02, 2018, 10:02:53 AM
There's an existing thread like this on making the image clickable or with hyperlink provided by Vod and there's a thread with the same thread but in another langauge. If you want to contribute lock/move your topic to the local board you belong. Just like this thread = https://bitcointalk.org/index.php?topic=3267615.


Title: Re: How to link an URL to an image - a quick guide
Post by: trader34 on June 02, 2018, 12:32:03 PM
If you want to contribute lock/move your topic

Ok, I didn't know there were already threads about linking an URL to an image. I found lots of threads about BBcodes, but not about this (in fact I was searching how to do it and I discovered myself the way).

I've locked the thread https://i.imgur.com/ibsyXn7.png