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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | sample-overlay-issue.jpg | 167.94 KB | kriskras |
| #1 | sample-overlay-issue2.jpg | 122.33 KB | kriskras |
Comments
Comment #1
kriskras commentedI 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:
This refers to this line.
imgPreloader.src = Lightbox.imageArray[Lightbox.activeImage][0];Comment #2
stella commentedCan 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
Comment #3
kriskras commentedUpgrading did it! Thanks.