When using IE 9 the images are loading in the incorrect dimensions in lightbox2. When you switch the IE 9 browser into compatibility mode the correct image size is loaded. This seems to only happen on some images so I am wondering if it is tied to the image size/ratio set under the drupal Image module.

I have attached a screenshot. Any help is much appreciated.

CommentFileSizeAuthor
#1 lightboxproblem2.jpg37.03 KBwrender
lightboxproblem.jpg51.23 KBwrender
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wrender’s picture

FileSize
37.03 KB

Here is how the same lightbox image looks in Firefox 7.0.1. Attached.

ruthverena75’s picture

Category: support » bug

this might be a bug, i have the same effect with IE9, drupal 6.22 and lightbox2
lightbox might need:
v2.05 Released with IE9 Support 3/18/11
http://www.lokeshdhakar.com/projects/lightbox2/

wrender’s picture

Hey thanks. Can I simply put this new lightbox code into the lightbox2 module?

Jason Flex’s picture

Hey.

I am having the same issue
I see that Lightbox2 v2.05 is supposed to resolve the issue but this module seems to be using an older version of the Lightbox2 script.

Thanks in advance for any help.

Dubs’s picture

I'm just hoping to bump this. I have the same issue here and updating the script would be great.

Stekkie’s picture

Same problem here. MSIE 9 64bit, Win 7, Drupal 6.26, Lightbox2 6.x-1.11. It shows the correct image in compatibility mode and all other major browsers.