BBCode Wrap Image with text around

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
Sr X
Registered User
Posts: 202
Joined: Wed Feb 07, 2007 9:25 am

BBCode Wrap Image with text around

Post by Sr X » Sun Jan 27, 2008 8:08 pm

I need know what is the better way/bbcode to (align right or left) wrap images with text around. of course valid xhtml 1.0 Strict.

i have found a thease, but i dont know what is the better.

oso96_2000 here wrote:@fsinclaire, I stay with this bbcode:


Code: Select all


HTML Replacement:

Code: Select all

<img src="{URL}" alt="{URL}" style="float: {IDENTIFIER}" />

This way i can use [fimg=left]http://image.png[/fimg] to float the image to the left

Highway of Life here wrote:It would actually be better to just have a [right] or [left] tag and put the image inside. This would do the same thing... for example.

Code: Select all


Code: Select all


HTML: option: 1

Code: Select all

<div align="left">{TEXT}</div>

Code: Select all

<div align="right">{TEXT}</div>

HTML: option: 2

Code: Select all

<div style="float:left;">{TEXT}</div>

Code: Select all

<div style="float:right;">{TEXT}</div>

Then in your post...

Code: Select all

[left][img]http://website.tld/image.jpg[/img][/left] Some text here

Give that a try.

kokkan here wrote:Here's another basic but useful custom BBCode. I use it on images that I want to wrap text around.

Code: Select all


<div  style="float: {TEXT1}; padding-left: 10px; padding-right: 10px; padding-top: 2px; padding-bottom: 2px;">{TEXT2}</div>

Use right/left as parameter for the BBCode to select align of the image/object.

nicholasalipaz here wrote:Wrap Image

Code: Select all


Code: Select all

<div style="float:{TEXT1};margin: 2px 2px 6px 6px;"><img src="{TEXT2}"></div>

Code: Select all

Wrap Image: [imgwrap=left|right]URL[/imgwrap]

any more? thanks.


Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: Bing [Bot], WISHEXEC and 94 guests