We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11103
    • 5 Posts
    I am trying to display several GalleryItems of a gallery at various positions on a page, integrated with page text flow (alternating float left/right). I am doing so with this code block used multiple times on the page so each references a different id (1440, then 1441, 1442 ... etc.)

    [[!GalleryItem? &id=`1440` &thumbWidth=`176` &thumbHeight=`264` ]]
    [[!+galitem.image:notempty=`
    <a href="[[+galitem.image]]" rel="colorbox"><img class="image" src="[[+galitem.thumbnail]]" alt="[[+galitem.description]]" data-href="[[+galitem.thumbnail]]" /><p>[[+galitem.description]]</p></a>`]]


    Problem is each consecutive galItem overrides thumbnail of all previous thumbs, so all are the same.