Small problem

Alfarruquito

Joined: 2008-02-11
Posts: 2
Posted: Mon, 2008-02-11 03:23

Hello, I have a slight problem:

Since I upgraded to WPG2 3x, in the WYSIWYG Wordpress (2.2 version), when centre images with the editor by pressing the button, I centre image and WYSIWYG writes "<div> http://blabla.com/imag.jpg </div> ", but that syntax is not correct, because when the public does not appear centered. Previously, the WPG2 2x not the case this problem, I just had to press the button and focused manner with the correct syntax "<p align=center> http://blabla.com/imag.jpg </ p>" appearing centered image when it publishes the post.

Someone can help me? thank you.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-02-11 04:42

Hiya Alfarruquito,

It sounds like you have forgotten to select the alignment in the G2image selection tool. When inserting images change the G2Image Alignment Class value to Centred and you will see the div class changed to div.g2image_centered

Hope this helps

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Alfarruquito

Joined: 2008-02-11
Posts: 2
Posted: Mon, 2008-02-11 05:31

Thanks x100 for your fast reply.

I tried that says, changing Default Image Class Centered from none, but I tried it and I still have the same problem, so I have to put it into none again. Currently my setup is this: http://img147.imageshack.us/img147/1313/imagen100ao9.jpg

Thanks

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-02-12 00:16

When you change the class, does the div class change to div.g2image_centered? If it does then the issue is within your Wordpress Stylesheet.

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo