We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35545
    • 35 Posts
    Well, how to describe... I would like show images within text that are randomly picked from a gallery. I use:

    [[!Gallery? &album=`[[*prettyGalleryAlbum]]` &thumbTpl=`prettyGalleryImageTpl` &thumbWidth=`[[*prettyThumbnailWidth]]` &thumbHeight=`[[*prettyThumbnailHeight]]` &useCss=`0` &sort=`rand` &limit=`1`]]

    This works like a charm and image opens in a lightbox when clicked. But now... if i wonna show another image within text it shows the same image when i use the same line. Ofcourse logical.. but how to make it so that is shows random images? Use getresources (if so, how?) Can the rand be influenced?