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

Gallery 0.2.3 and popup alignment

Go to End

4 Posts   3321 Views


Community Member, 8 Posts

19 December 2008 at 10:13am


I noticed that in Firefox the popup is not centered but on the right, while in Safari is centered. A colleague tried in Windows and had the same problem. If I return to Gallery 0.2.2 I have no problem with both.



Community Member, 15 Posts

20 December 2008 at 8:08pm

I have the same problem. Good luck getting a response.


Community Member, 470 Posts

20 December 2008 at 8:43pm

I would assume it has something to do with the js lightbox script since that controls that.

I'd suggest possibly looking into the gallery extension as it's a lot better and I believe will be merged into the gallery eventually.


Community Member, 1 Post

29 December 2008 at 1:49pm


I'm new in the forum and in the silverstripe framework! i just added the gallery module and get position failure on the popup!
i solved this by compare the lightwindow.js from the module with the original js-file.

Here the code-snippet that corupt my display:

if (!this.windowActive) {
   // Position the window
       left: this.dimensions.container.width/2 +'px',
       top: -(this.dimensions.container.height/2)+'px'

hre the correct code:

if (!this.windowActive) {
   // Position the window
        left: -(this.dimensions.container.width/2)+'px',
        top: -(this.dimensions.container.height/2)+'px'

i hope i could help anyone, and please, dont blam me if this is anywhere posted ;)

greetz enno