Greeetings
I am almost done configuring my site and i have a problem with lightbox
I use it with fckeditor by adding a class at the advanced tab of fck and it works just fine
but the problem is when the image gets enlarged it creates vertical scrollers in firefox (in safari and IE works fine)
and that really annoys me,and its not the worst thing,because when i use the gallery feature of lightbox and navigate using arrow keys it the window gets right and left,left and right...which is really annoying...
So does anyone know how i can solve this ?
Shadowbox is a alternative if you can tell me how to i can integrate it with fck...

Kind Regards
Antonio

Comments

pawel.traczynski’s picture

Hey!
In case you didn't already found a solution here it is:

Find lightbox.js file in lightbox2 module folder. Open the file and search for: "$('#overlay').css("

After you find it change the line in which it appears to:
$('#overlay').css({'height': pageHeight + 'px', 'width': '100%'});

I agree it's annoying that i have to correct it each time I use a lightbox2 on developed site, but at least you have a module which integrates well with image module and works out of the box.

Cheers!

I am a Drupal developer and astrophotographer.
https://www.astrobin.com/users/pawel.traczynski/