We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16430
    • 217 Posts
    Hi, I have this call:
     [[!GalleryAlbums? &rowTpl=`fancyAlbums` &showAll=`1` &parent=`0` &limit=`3` &dir=`DESC` ]]

    that grabs last 3 galleries...
    fancyAlbums tpl:
    [[!Gallery? &album=`[[+id]]` &limit=`7`&sort=`rand`  &thumbTpl=`fancySlider` &thumbWidth=`126`   &thumbHeight=`90`  ]]

    from those galleries pickup 7 random images and display them using this FancySlider tpl:
    <li>
      <div class="inner">
        <img src="[[+thumbnail]]" width="126" height="90" alt="[[+gallery.name]]"/>
      </div>
      <div class="caption">
        <a rel="prettyphoto[fs]" href="[[+image_absolute]]" title="[[+gallery.name]] - [[+gallery.description]]"><img src="assets/components/fancyslider/images/captionhover.png" /></a>
      </div>
    </li>

    Problem is, that it shows wrong gallery name for each image, means that it shows gallery name from different gallery than the image is stored...

    Why?