Yes, it’s possible, check maxigallery wiki page. There’s an tutorial for it. Also see the "read before posting thread". It contains a lot of useful information.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
I think lightbox checks the urls and shows prev and next picture in correct order, just try it based on the wiki tutorial. Instead of using the thumbnail view, use picture view.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Hi!
OK, I checked this: The order of the pictures within the lightbox depends on the link position (with rel="lightbox[maxigallery]" in the document flow.
So the whole problem is: To maintain the correct order inside the lightbox I need 2 dynamic MaxiGallery queries:
1. One that queries all pictures from the start of the gallery to the one actually displayed
2. and another one that queries all remaining pictures after the one that is currently displayed on the page (in PictureView).
Have you got any idea how that could be realized?
I’m fine with php, so if you could give me any hints I might work it out (is there a variable with the number of total images and the number of the image currently displayed?)
I could contribute a tutorial to the wiki should I succeed!
Cheers,
Siar
I guess you could use the &limit and &offset parameters in the maxigallery call..
Eg. do a custom pictureTpl and put two maxigallery calls in it.. the first one to get all links before the current picture:
[!MaxiGallery? &limit=`[+maxigallery.counter+]`!] ..and add other parameters from your maxigallery call
Then another one to get the picture urls after the current picture:
[!MaxiGallery? &offset=`[+maxigallery.counter+]`!]
Then do custom galleryOuterTpl and galleryPictureTpl templates to the above calls so that they only output the links to the images as lightbox wants it.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
I have a similar problem. Did anyone ever get this to work?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."