Hi Guys,
I have a slimbox album, with 4 pages of 9 photo’s each in it.
When i click on the first photo on the fist page, the slimbox comes up, but only shows the 9 photo’s of that page. But what i want is that it continues to the second page, and the third/fourth etc. Instead of the visitor having to click to the page manually. Is this possible, and why isn’t this default in Maxigallery, or did i mess with the settings?
Thanks for helping,
Regards,
Mike
Slimbox works like so that it goes through the HTML source and finds all links that have rel="lightbox" attribute in them. Then it creates an array of those links to it’s picture set and shows the "lightbox" effect by opening the link href target in the overlay div element.
So when you have maxigallery listing one page with nine pictures in it, slimbox only sees those nine urls and will open a lightbox with only those pictures in the picture set. If you would like to have all the pictures in the lightbox picture set, you need to have all the picture links in the HTML source.
You can do that by adding another snippet call into the document with custom templates that output only hidden links. See the "one picture on document but all in ligthbox" tutorial in maxigallery wiki page. But note that when you add another snippet call to the document, you will also need to start using &manage_target and &is_target parameters to make the picture management on a separate document (see wiki for more info about those) or use this
hack in the call that lists the hidden urls.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."