A quick one I hope. We have the following Image Gallery which has Lightbox installed. The module appears to work fine with Firefox, however it doesn't work with IE7. Basically, what is the problem here, and what do I need to do to fix this?

Thanks in advance, Simon

CommentFileSizeAuthor
#6 lightningload.js_.txt84 bytesstella

Comments

stella’s picture

In what way does it not work? I tried it in IE7 and it worked fine.

Cheers,
Stella

dthiessen’s picture

I just installed lightbox on my site (Drupal 5.3) as well and for some reason IE7 does not work either. All it seems to do is link directly to the image. I will attempt it on another computer and see if I get the same results.

dthiessen’s picture

Ok just tried it on another one and the very first image I click works and then after that it fails to use the lightbox module. Works flawlessly in firefox though.

The site is Talet Attachments if you would like to try yourself.

sdrycroft’s picture

This is now what I'm experiencing. It sometimes works the first time you click an image on a page, then for every subsequent image clicking on the image takes you to the full size version of the image (interestingly, not the preview size).

stella’s picture

Are the images all on the same page? Or are you navigating between pages and using the back button at all?

sdrycroft: Can you provide a link to your site where it's happening?

Cheers,
Stella

stella’s picture

StatusFileSize
new84 bytes

Back up your copy of lightbox2/js/lightningload.js and copy the attached one in its place (remove "_.txt" ending). You will probably need to clear your browser cache before re-testing. Please let me know if it helps any.

Cheers,
Stella

sdrycroft’s picture

Status: Active » Fixed

This looks to have fixed things for us, thanks very much. I'll let you know if we have any further issues.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in Lightbox V2 5.x-2.2.

Cheers,
Stella

Totakeke’s picture

Version: 5.x-2.1 » 5.x-2.4

I hope it's alright to bump this topic as I'm encountering the same problem. Works perfectly in Firefox but for doesn't work for IE7. Currently using the 2.4 version. When I click on the images, it just does the default behavior. Click on any of the images on the front page here http://www.ntumseclub.com/ and it doesn't pop the lightbox up.

stella’s picture

Status: Closed (fixed) » Active

Hi Totakeke,

[Marking this as active for visibility, will mark closed again later.]

I viewed your site in Firefox and IE7 and it worked perfectly for me in both browsers. However, I notice that you have the thickbox module installed too. Perhaps try disabling the thickbox module to see if that fixes it. Thickbox does provide similar functionality to lightbox2, which can cause problems, but I don't think this functionality is in use on your site. There's no harm trying to see.

If the problem persists, it would be best if you opened a separate issue for this as the original problem in this issue centred around the lightningload.js file which is no longer part of lightbox2. When opening the issue, please provide details of all of your lightbox2 settings.

Cheers,
Stella

Totakeke’s picture

Status: Active » Closed (fixed)

Thanks, issue resolved, disabling it made lightbox work and also enabling it again doesn't cause further conflicts. I was using thickbox for the whole site previously but now it is just being used for the login popup.