Hello.
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.
Thanks,
Antonio
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hello.
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.
Thanks,
Antonio
I have the same problem. Good luck getting a response.
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.
hey,
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
$('lightwindow_container').setStyle({
left: this.dimensions.container.width/2 +'px',
top: -(this.dimensions.container.height/2)+'px'
});
}
hre the correct code:
if (!this.windowActive) {
// Position the window
$('lightwindow_container').setStyle({
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