View Full Version : Custom BB Code Help - Linked Image

11 Jun 2008, 23:11

I need some help in creating a custom BBcode for posting images with links. I am using this (http://www.vbulletin.org/forum/showthread.php?t=172024&page=16) great hack but it will not allow images to point to a link it instead just opens them in the highslide.

So my thought is why not just create a custom BBcode that does the same thing as the default vb options but with a [IMGA] tag instead of [IMG] which the hack looks for.

I'm not a coder at all but this is what I have so far...it may be way off...

BB Code Tag Name

<a href="{param}">
<img src="{param}" /></a>

Thank you for the help!:)

12 Jun 2008, 07:50
<a href="{param}"><img src="{param}" alt="" border="0" /></a>