The Arcive of vBulletin Modifications Site. |
|
A better IMG tag Details »»
|
|||||||||||||||||||||||||
You know all that white space by the side of every image ever posted on a forum using the standard IMG tag ? I happen to hate it. I want my images to blend in with the text.
So I did my own BBCODE for it: 1 - Go to the Admin panel and select "Add Custom BBCode" 2 - For title enter "Float Image on text" or something like it, same for description 3 - for tag enter xFLOAT 4 - for "Replacement" enter the text below Code:
<a href="{param}"><img alt="" border="0" src="{param}" style="margin: 0px 10px 10px 0px; float: {option};"/></a>
Code:
[xFLOAT=left]http://upload.wikimedia.org/wikipedia/en/thumb/3/3e/Magic_Pot_FFX.jpg/65px-Magic_Pot_FFX.jpg[/xFLOAT]blah, blah, blah, yada, yada, yakety yak 7 - optionally, add an icon path to have it come up on your posting box tada! Here it is at work! http://forums.ffproject.net/showthread.php?t=747 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
thanks i use it in future
|
|
#3
|
|||
|
|||
|
Can you pleases explain what to do, and also add the instructions to a notepad file?
|
|
#4
|
||||
|
||||
|
i dont understand what this does
|
|
#5
|
||||
|
||||
|
Quote:
it lets you wrap text next to the image. (instead of being confined to one line) |
|
#6
|
||||
|
||||
|
I made a tag like that recently too. However, I simply use the same IMG tag name, but with align option.
To align an image to the right, people would use |
|
#7
|
|||
|
|||
|
Awesome mod seriously, I needed this for my site www.bandoftheweek.com - I shall install it in a while.
|
|
#8
|
|||
|
|||
|
|
|
#9
|
|||
|
|||
|
Yes it does. Any text around the image gets mixed
Just add some empty lines after the image to push your signature down far enough and it will be back to it's normal place (or add a couple of <br> to the beggining of your sig) |
|
#10
|
||||
|
||||
|
Someone asked me to post my version of the IMG with align code, so here it is:
Title: IMG with align option Tag: IMG Replacement: <img src="{param}" align="{option}" border="0" hspace="5" alt="Image"> Example: Description: This image tag allows align option. The align option can be TOP, BOTTOM, MIDDLE, LEFT, or RIGHT. Use {option}: Yes Some of you may not like to use the "align" within <IMG>, but I don't have problem with it myself.
|
![]() |
|
|