View Full Version : another [img] tag??
gab1982
Mon 10th Mar '03, 2:43pm
i would like to put in the following image tag:
url here
which alignes the images at the url chosen to algn left, how can i do that? I added the above code to the vbcodes section in the admin cp but cant get it to work :(
X PsychoTron X
Tue 1st Apr '03, 8:02am
Rather than add a tag that would do just images you could add align tags. Something like this:
Code Tag: left
vB Code replacement: <div align="left">{param}</div>
vB Code example:
Image or text here Without the space.
vB Code explanation: A tag that aligns stuff to the left. :D
Use {option} ?: No
You can replace the word left with right or center for tags that would align things to the right or center as well.
__________
Or for images only you could use this:
Code Tag: imgleft
vB Code replacement: <div align="left"><p><img src="{param}"></p></div>
vB Code example: http://linketoimage Without the space
vB Code explanation: A tag that aligns images to the left. :D
Use {option} ?: No
You could also use the {option} with this one but I just did it this way cause I'm lazy. :)
gab1982
Tue 1st Apr '03, 11:49am
thanks i got it working now :P :D
Kohhal
Fri 11th Apr '03, 5:28am
Nice addition, helps me out a lot, thanks :)
X PsychoTron X
Fri 11th Apr '03, 6:37am
:D No problem guys...
fury
Fri 11th Apr '03, 9:48am
If you'd like to have images that float to the left, you can use this tag:
vB Code: img
vB Code replacement: <img align="{option}" src="{param}" alt="" />
vB Code explanation: insert explanation here
vB Code example: image url here
Use {option}: Yes
This will allow you to create images that float to the {option} side of the page, without forcing all the text onto other lines. An example can be found in the attachment.
The only drawback is that if you have disable dynamic image links enabled, using this tag will allow them regardless.
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.