We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3722
    • 171 Posts
    I am using Gallery.
    I have my portfolio page setup with a nav bar up top to select the galleries.
    I also display the thumbnail for one of the galleries.

    I would like to set it up so the thumbnails are shown for all of my galleries.
    Has anyone done this or know how to make it work?
    Current code on the page:
    <div class="span-24 galnav">
    <h3>Choose a Portfolio</h3>
    <ul>
    [[!GalleryAlbums? &prominentOnly=`0` ]]
    </ul>
    </div>
    
    <div class="span-24">
    [[!Gallery? &thumbWidth=`125` &thumbHeight=`125` &thumbTpl=`GalColorBoxItem` &toPlaceholder=`gallery` &album=`3`]]
    [[!GalleryItem]]
    
    [[!+gallery:notempty=`
    <h2>[[+gallery.name]]</h2> 
    [[+gallery]]
    `]]
    </div>
    
    <div class="span-24">
    [[!Gallery? &thumbWidth=`125` &thumbHeight=`125` &thumbTpl=`GalColorBoxItem` &toPlaceholder=`gallery` &album=`4`]]
    [[!GalleryItem]]
    
    [[!+gallery:notempty=`
    <h2>[[+gallery.name]]</h2> 
    [[+gallery]]
    `]]
    </div>


    I have albums 3, 4 and 5. The above code is trying to display galleries 3 and 4.
    The current code is display two sets of album 3.

    Thanks
    BG66
      • 3722
      • 171 Posts
      Yes, can the admins delete this?
      I just tried and it did not work.
        • 37293
        • 8 Posts
        I did this exact thing and I have got the answer here in my computer repair blog. [ed. note: johncarter last edited this post 14 years, 6 months ago.]