Image in lightbox is overlayed with half of that image

Cynaes

Joined: 2007-10-11
Posts: 7
Posted: Tue, 2008-06-10 11:31

Hello everyone,

I got a rather strange bug after updating my WPG2-Plugin. When I open an image, the Lightbox loads, then displays the picture correctly for a split second, only to have the right half of that image overlayed with that very same pic a few moments later. I can only avoid this while hovering over the right part of the image, so that the "Next"-link gets displayed. Link to gallery: http://www.emphyrio.net/wpg2-2

I tried to find something in the FAQ or in the forums, but I'm afraid I couldn't find anything.

Thanks in advance for your help!

 
si_wba

Joined: 2008-07-19
Posts: 1
Posted: Sun, 2008-07-20 16:00

Hi Cynaes,

I have very limited experience of web design but I did find myself in a similar situation to your own. Instead of overlapping with half of the actual image, half of my images were simply white, depending on where I hovered the pointer.

I found the problem to be some code in my style.css file. I had used a free template to begin with but eventually moved away from it and designed my own, however the style.css file had remained the same from the template design.

The culprit block of code was the following, followed by hash values for colour etc:

a
a:link
a:visited
a:hover

Since I am no coder, I had no idea why the values in this code caused the problem, I simply discovered this through the process of elimination!

This may be totally irrelevant to your setup, but the lightbox on your site is acting very similar to how mine was.

Hope this helps!

Si

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-07-20 05:10
Cynaes wrote:
Hello everyone,

I got a rather strange bug after updating my WPG2-Plugin. When I open an image, the Lightbox loads, then displays the picture correctly for a split second, only to have the right half of that image overlayed with that very same pic a few moments later. I can only avoid this while hovering over the right part of the image, so that the "Next"-link gets displayed. Link to gallery: http://www.emphyrio.net/wpg2-2

I tried to find something in the FAQ or in the forums, but I'm afraid I couldn't find anything.

Thanks in advance for your help!

Grab WPG2 3.07 and switch the lightbox script to lightbox rather than slimbox. Unfortunately slimbox being the lighter faster script sometimes can cause css issues like you are having..

PS: You can rename the post slug of your wpg2 page to being something other than wpg2-2 :)

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