Float text/text align for images

https://www.phpbb.com/ideas/
Locked
Author:
Jesper Møller
Posted:
Sat Mar 09, 2019 12:14 pm
Rating:
Status:
New
Ideas Bot
Registered User
Posts: 459
Joined: Sat Oct 13, 2012 10:06 am

Float text/text align for images

Post by Ideas Bot » Sat Mar 09, 2019 12:14 pm

whenoploading images to be placed inline i would be nice with an option to be able to choose float text beside the image

i imagen a float left/right option

User avatar
AbaddonOrmuz
Registered User
Posts: 526
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: Float text/text align for images

Post by AbaddonOrmuz » Sat Mar 09, 2019 11:14 pm

It can be easily done with a custom BBCode or with an extension adding extra parameters to the default [img] BBCode.
A proudly user of Arch Linux :: /r/sddm_themes

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3627
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Float text/text align for images

Post by HiFiKabin » Sun Mar 10, 2019 11:11 am

Exactly so

BBCode Usage:

Code: Select all

[imageleft]{URL}[/imageleft]
HTML Replacement:

Code: Select all

<img src="{URL}" style="float:left;padding-right: 5px;" />
Help Line:

Code: Select all

Any text added after [/imageleft] will be wrapped around the image.
and

BBCode Usage:

Code: Select all

[imageright]{URL}[/imageright]
HTML Replacement:

Code: Select all

<img src="{URL}" style="float:right;padding-right: 5px;" />
Help Line:

Code: Select all

Any text added after [/imageright] will be wrapped around the image.

Topic Locked

Locked

Return to “phpBB Ideas”

Who is online

Users browsing this forum: No registered users and 2 guests