We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6998
    • 25 Posts
    Hi guys,

    I was wondering if anyone could help me find the best way to do this:
    I want to show the first image of a gallery on the parent page...

    I think this link will help illustrate:
    http://www.wildwheelsauto.com/projects

    I want the first gallery image to be the thumbnail on the Projects page. Right now they are two separate images. Is there a way to retrieve the gallery image?

    Thanks for any help. Let me know if I need to clarify something.


    Errr.... okay after a little more searching, I think I got it. smiley Sorry!
      • 7923
      • 4,213 Posts
      Please in future post your solutions for others to see. Someone may have the same question.

      Anyways, there are multiple ways to do it, for example:

      &view_gallery=`docidhere` &limit=`1`
      &gal_query_ids=`docidhere` &limit=`1`
      Use childgallery display mode.
      Etc..

      Then you probably want to make custom &galleryPictureTpl for that call too that redirects to the gallery document from the thumbnail. Eg. make the link from thumbnail be <a href="[~[+maxigallery.picture.gal_id+]~]">.....</a>


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 6998
        • 25 Posts
        Sorry, I thought it had already been answered/was simple enough that others would not have this question. smiley

        Anyway, basically ended up with what you suggested there. wink