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:
[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, this is the 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:
[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/Ok, now, how to connect an URL to an image?
This will be the 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:
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:
[url=https://bitcointalk.org/][img]'image URL'[/img][/url]
That's it. I hope this information is helpful