The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Image Borders?
Can image borders be added to images posted in the message board using a replacement variable or something of the sort? Like [ IMG border=1 ] or something. This would be optional of course .. you can choose to add a border to an image. Also, if this is possible, can it be added to the WYSIWYG somehow?
I know the IMG tag doesn't by default take parameters, but is there a mod that will let you do this? |
#2
|
|||
|
|||
Well you can either create you own custom border bbcode say like [IMGBRD]blabla[/IMGBRD] then create you own HTML for that.
Or you could make a new custom BBCode which has something like [BORDER][IMG]BLA[/IMG][/BORDER] then your replacement would be: Code:
<span class="imgbord">{param}</span> E.g.: Code:
.imgbord img {border:1px solid #000000;} |
#3
|
|||
|
|||
thanks! the second option is exactly what I was looking for!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|