1
barryc
Centering images using bb codes
  • 2005/11/13 17:28

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Hi all,

I am using the module, Liase for my Contact Us functions. I would like to include an image at the top of some of these pages. Liase uses only the standard XOOPS Editor. In that one only seems to be able to place an image to the left or right. I have tried the code [ img align=center]path_to_image[/img ], but that doesn't work. The image is still aligned left. BTW, the extra spaces are in that string so that it will appear in this message.

Is there any way to do this? My site is still running under XOOPS 2.0.13.2

Barry
Barry Cooper
Sweet Home, Oregon

2
MadFish
Re: Centering images using bb codes
  • 2005/11/13 17:39

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


Try enclosing it in a div, eg:

<div align=center>[ img align=center]path_to_image[/img ]div>


You can edit the imagemanager.php file (at least I think thats what its called) to insert the div automatically, if you like.

3
barryc
Re: Centering images using bb codes
  • 2005/11/13 18:27

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


Thanks but no go! I should have said that I'd tried
path to image
, but Liase doesn't recognize html codes. I tried your variant just now and that doesn't work either. The html markup just appears as text.

Any other ideas? this seems to be a weakness in the XOOPS standard editor.

Barry
Barry Cooper
Sweet Home, Oregon

Login

Who's Online

247 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits