We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7743
    • 3 Posts
    I’ve created a really simple gallery like this:

    [[!Gallery? &toPlaceholder=`gallery` &album=`radium_gallery` &useCss=`0`]]
    [[!GalleryItem]]
     
    [[!+galitem.image:notempty=`
    <div class="image">
      <a href="[[~[[*id]]]]">  
        <img class="[[+galitem.imgCls]]" src="[[+galitem.image]]" alt="[[+galitem.name]]" />
        <p align="center">Click to go back</p>
      </a>
    </div>
    `:ifempty=`
    <div class="gallery">
      [[+gallery]]
    </div>
    `]]
    


    After eventually getting it working I would like to style the gallery thumbnails a little. Unfortunately the class on the img tag is empty. How do I go about setting this to something? I see the default chunk has an imgCls placeholder, but being a noob I’m not sure how to use it.

    Thanks