Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Lightwindow not working properly in IE!


Go to End
Reply

11 Posts   8191 Views

Avatar
Fading

10 January 2009 at 2:55pm Community Member, 15 Posts

I am not sure if this has been posted before, so I will ask anyways.

Lightwindow works fine in Firefox, but has problems in IE. When browsing through the images some open fine and others open small and narrow and the image will be really tiny, Kind of weird. It is not every image. Am I missing something that will halp this work properly in IE?

Thank you,

Avatar
Fading

13 January 2009 at 4:46am Community Member, 15 Posts

Is there anyone who has a solution to this? I really need to get this issue solved. Thank you

Avatar
warwick

31 January 2009 at 9:59pm Community Member, 13 Posts

I cant give you an answer sorry - but I can tell you the pattern. The first time you load any image it seems to fail to get the image size in-time so the window opens up the wrong size

The second time you open an image (any image already in your browsers cache) It works correctly because it already knows the image size from last time.

Ive tried updating to latest daily builds for flicker and YouTube galleries but this or something I did has stopped my light windows working at all.

Avatar
Nivanka

2 February 2009 at 12:32am Community Member, 395 Posts

check whether your browser returns any javascript errors

Avatar
sjbmaine

3 February 2009 at 1:18pm Community Member, 17 Posts

I'm experiencing this as well. I receive an error message that reads:

Line: 1597
Char: 9
Error: Invalid argument
Code: 0

Unfortunately I do not understand the code enough to know how to fix this.

Avatar
guillearg

3 March 2009 at 12:05pm Community Member, 1 Post

I had the same problem, and after doing some research found this:
http://www.trilodge.de/blog/2007/11/04/lightwindow-ie-fix/

The page is in german (looks like), it tells you to replace a line in the lightwindow.js file

This part of the code:

$(’lightwindow_image_’+i).setStyle({
height: ‘100%’
});

With this one:
$(’lightwindow_image_’+i).setStyle({
height: ‘100%’, width: ‘100%’
});

It says its in line 1231, but I found it in line 1244. After making that change started working for me on IE. Hope it helps

Guille

Avatar
jimmijammit

28 March 2009 at 2:30pm Community Member, 1 Post

Thanks guillearg! This fix worked like a charm!!

Avatar
Oyster

31 August 2009 at 1:18am Community Member, 17 Posts

I am having the same problems with IE (7.0) and Lightbox as described over. Guilleard's fix doesn't work here. I'm running SS 2.3.2 and Flickrservice 0.3-module.

Any one have a clue?

Go to Top