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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Lightwindow not working properly in IE!

Go to End

11 Posts   9790 Views


Community Member, 15 Posts

10 January 2009 at 2:55pm

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,


Community Member, 15 Posts

13 January 2009 at 4:46am

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


Community Member, 13 Posts

31 January 2009 at 9:59pm

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.


Community Member, 400 Posts

2 February 2009 at 12:32am

check whether your browser returns any javascript errors


Community Member, 17 Posts

3 February 2009 at 1:18pm

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.


Community Member, 1 Post

3 March 2009 at 12:05pm

I had the same problem, and after doing some research found this:

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

This part of the code:

height: ‘100%’

With this one:
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



Community Member, 1 Post

28 March 2009 at 2:30pm

Thanks guillearg! This fix worked like a charm!!


Community Member, 17 Posts

31 August 2009 at 1:18am

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