I'm experiencing weird behaviour after I have upgraded from drupal 6.3 to 6.10. I don't know whether this is the reason at all.

When I click an image the overlay box appears, but immediately disappears at the moment when the image is loaded. So I only see the image, but without overlay.

To be clear: when I click on a preview image it directly goes to the file. E.g. http://xxxx/sites/default/files/images/D2H_9682.preview.jpg
There simply is no overlay (it disappears after milliseconds, when the images is completely loaded).

I believe the issue is JS related, since the images does not load inside the page/node.

What can be done?

I love the module, it really stands out and I have never had any problems with it before.

Thank you.

Comments

kriskras’s picture

StatusFileSize
new122.33 KB
new167.94 KB

I have added two screenshots in order to better understand the situation. The first one is when I click it,.. the overlay works. Immediately after, the overlay dissapears and the picture shows itself.

Also, I have found the following error:

Error: Lightbox.imageArray[Lightbox.activeImage] is undefined
Source: http://xxx.org/sites/all/modules/lightbox2/js/lightbox.js?V
Line: 410

This refers to this line.
imgPreloader.src = Lightbox.imageArray[Lightbox.activeImage][0];

stella’s picture

Can you upgrade to the latest version of Lightbox2, 6.x-1.9? The 6.x-1.8 is no longer supported. Don't forget to run update.php after you upgrade.

Cheers,
Stella

kriskras’s picture

Status: Active » Closed (fixed)

Upgrading did it! Thanks.