I want to make a gallery (i.e. Portfolio) gathering photos from 3 other galleries (i.e. Paintings, Drawings, Photos).
I already know how to do this, but the problem is, I want to make links in Portfolio to picture number X, Y and Z, where X is the first Painting, Y the first Drawing and Z the first Photo.
Of course, for that to work I need images sorted by their original gallery (so Paintings first, then Drawings, and then Photos).
So the basic question is, how do I get the number of images from other galleries.
Thanks in advance for all your help!
Childgallery display type does that by default, ie. lists all the galleries under certain parent and displays the first image from them. With the &order_by parameter you can sort the images of the galleries and with &childgalleries_order_by you can sort the childgalleries itself.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
If you use childgallery view, it should only list one thumbnail from the gallery and when you click that, it should go to the gallery. Post your snippet setup and document tree info if you want better help.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Thanks again!
I don’t want to have 3 thumbs leading to childgalleries.
What I want to achieve is to have a single gallery which has:
- images from all childgalleries
- buttons ’next’ and ’prev’
- buttons ’go to first image that’s taken from childgallery X"
Basically what I need from MaxiGallery is:
- number of images in each childgallery
- list of links to thumbnails, normal and big images from all childgalleries
- all those links have to be listed in order, ie. images from 1st childgallery, then from 2nd, then from 3rd, and so on
I can take it from there with JavaScript.
If there is no other way, I’ll have to alter the way childgalleries are display to put all info in xml. Then I’ll make a page with JS getting all that info and displaying a gallery. I was hoping, though, I could use some builtin MAxiGallery way of displaying it.
Maybe better to just create custom templates to maxigallery so that it outputs the xml you need and process that.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."