View Full Version : Image justify text bbcode?
Trana
08-13-2009, 03:44 AM
Does anyone know of a bbcode that will allow you to justify text beneath an image that is aligned to center? Basically the way a photo caption works.
Any ideas if one already exists?
Thanks!
Dismounted
08-13-2009, 07:25 AM
You can create a BB code to allow justification if you like, but it does not exist in a default installation of vBulletin.
ARSamo
11-26-2010, 04:34 PM
but how can v create this code..?
BirdOPrey5
11-28-2010, 06:48 AM
It would be difficult if you didn't know the width of the image beforehand... If this is for an article or something it might be a good idea to set a specific width in pixels anyway...
I'd do something like
<table border="0" align="center" width="300">
<tr><td><img src="{option}" width="300" border="0" /></td></tr>
<tr><td><div align="center">{param}</div></td></tr></table>
Change the 2 instances of "300" to the width you wan to set.
In BB Code Manager make sure you have "Use Option" set to YES...
Give it a name, description, etc...
You would than use it like
Text you want to center.
Assuming you made the tag name "imgc" (for image centered).
ARSamo
02-06-2011, 04:12 PM
thanx dear
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.