1st click: half lightbox; 2nd click: full lightbox; 3rd click: lightbox + picture

levak
levak's picture

Joined: 2003-03-02
Posts: 16
Posted: Thu, 2008-05-08 05:35

Hello!

I have this interesting problem.
Yesterday I upgraded WP to 2.5, G2 to 2.2.4 and WPG2 to 3.06.

Now, when I go to my blog and click on the picture, 1st time it only opens half of the lightbox, 2nd time it opens full lightbox but no image and 3rd time it opens the image in lightbox and then it works. If I refresh page or go to another page/post it all starts again.

Blog address: http://blog.planetq.org/

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-05-08 11:44

levak,

Looking @ your WP it already has a number of Lightbox Libraries in it that could very well be reacting the the SlimBox. Easy test, switch WP Themes back to the Default Wordpress Theme and see if it works.. If it does, then my suggestion would be to turn off the internal Lightbox WPG2 and instead use an external Lightbox WP Plugin. The WPG2 plugin will still tag images for lighbox, it will just not use the internal slimbox script..

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

 
levak
levak's picture

Joined: 2003-03-02
Posts: 16
Posted: Thu, 2008-05-08 18:28

It seems that it works OK on default theme. But if I turn off internal lightbox in WPG2 config then there is no lightbox on the blog. Images just opens in the window.

I disabled lightbox so you can see for yourself.

It's weird since I dont remember this theme would use lightbox.

lp, Matej

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-05-10 02:25

levak,

I think you missed the part of my post where it said you will need an external WP Plugin
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
levak
levak's picture

Joined: 2003-03-02
Posts: 16
Posted: Sat, 2008-05-10 10:43

I understand the word external the wrong way. I installed the plugin and now it works like a charm. Thank you very much.
lp, Matej

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sat, 2008-05-10 12:27

No issues, I figured you missed that part ;)

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