Anyone know why the gallery module layer isn't centering
Is it's positioning based off of a default theme or something?
Also I've left the options for displaying the title, size and dimensions unchecked yet they show.
Any ideas? Thanks.
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.
Anyone know why the gallery module layer isn't centering
Is it's positioning based off of a default theme or something?
Also I've left the options for displaying the title, size and dimensions unchecked yet they show.
Any ideas? Thanks.
found answer buried in another thread....
http://www.silverstripe.org/all-other-modules/show/251101
(if that thread is gone...)
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'
});
}
here's 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'
});
}
What version of this are you runnig. I can't get the lightbox to work in IE but yours seems to work fine. Did you have any trouble getting it working?
thanks
MM
FYI... The gallery module is no longer supported. Try the new version in the "all other modules" section.
Ah, so what other gallery module IS supported? The Flickr one is pretty bad with no lightbox type overlay.
I don't see and "All other modules" link, just "Unsupported" in which I see no other gallery solution.
Thanks for any direct link to an alternative.
He means this one :
dumb question. is the link to a new module or just 11 pages of thread you have to comb through to snag code tweaks to the existing unsupported gallery module???!!!
if there is a new module with all the incorporated tweaks could someone post that? that would be sweet.
Yeah, that thread is becoming quite immense. Basically, you just need to check out the following modules from SVN:
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/dataobject_manager
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/swfupload
Run a /dev/build
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/image_gallery
If you don't have, or are not familiar with SVN, I'll be publishing a ZIP file soon.