![]() |
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? |
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;} |
thanks! the second option is exactly what I was looking for!
|
All times are GMT. The time now is 07:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|