10446 Posts in 2223 Topics by 1719 members
| Go to End | Next > | |
| Author | Topic: | 1815 Views |
-
Gallery Module: Centering, Etc.

20 February 2009 at 9:45am Last edited: 6 March 2009 9:59am
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.
-
Re: Gallery Module: Centering, Etc.

21 February 2009 at 3:41am
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'
});
} -
Re: Gallery Module: Centering, Etc.

22 February 2009 at 9:33pm
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
-
Re: Gallery Module: Centering, Etc.

23 February 2009 at 5:32am
FYI... The gallery module is no longer supported. Try the new version in the "all other modules" section.
-
Re: Gallery Module: Centering, Etc.

27 February 2009 at 3:32am
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.
-
Re: Gallery Module: Centering, Etc.

27 February 2009 at 4:46am Last edited: 27 February 2009 4:47am
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.
-
Re: Gallery Module: Centering, Etc.

27 February 2009 at 5:33am
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/swfuploadRun 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.
| 1815 Views | ||
| Go to Top | Next > |

