We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31565
    • 6 Posts
    Hi,
    Please help me,
    How can I show one thubnail form each childgalleries when I am filtering one particular subgallery only.
    this is the code I given.

    [!MaxiGallery? &gal_query_ids=`164` &query_level_limit=`3` &limit =`21`&order_by =`random` &is_target=`1` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`800` &thumb_use_dropshadow=`1`!]

    Without gal_query_ids , and with limit =`1’ it is getting fine.

    thanks in advance,

    Vincent
      • 7923
      • 4,213 Posts
      If you want to display one thumbnail from each child gallery, you first need to make a system that lists all the child galleries (eg. Ditto or Wayfinder) and then use a maxigallery call in the ditto/wayfinder template to pull one picture from the gallery (eg, &gal_query_ids=`[+id+]`)


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 31565
        • 6 Posts
        Hi

        I tried a lot for this , but I didn’t get.
        When clicking the thumbnails, [which created with gal_query ids ] is now directly going to the full view of that picture. Actually I want to get the next level - thumbnails of that particular childgallery.
        How can I use Ditto on this ? I am very new to this . Can anybody pls give some sample code on this using Ditto/Wayfinder ? or any other solution ?

        Pls help ..

        Thanks in Advance
          • 7923
          • 4,213 Posts
          You need to do custom &galleryPictureTpl to the MaxiGallery call and make the link from the thumbnail be <a href="[~[+maxigallery.picture.gal_id+]~]"...


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."