We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2401
    • 17 Posts
    Hi,

    I have created a MaxiGallery on an allocated Gallery page. All works fine but I would like the last few uploaded picture on my Gallery page to appear on the front page. Or maybe a selection of pictures that changes everytime the page gets refreshed.

    Is there any way of doing this.

    Please let me know what other info you need to know in order to answer this question. Not used MaxiGallery before so very novice with it.

    Thanks
    M.
    • Here’s something similar, it might start some ideas. http://modxcms.com/forums/index.php?topic=44862.0

      Documentation is here http://wiki.modxcms.com/index.php/MaxiGallery

      You can use these parameters to get the latest images or random images
      &order_by

      The database field name to use to order the pictures by. If “random” is used maxigallery will show pictures in a random order or will display a random picture in the childgalleries display mode.
      &limit

      Limit value to use for the query result set.
      &order_direction

      Sort order direction: ascending or descending.
      There are a lot of other possible options; see the Parameters section of the wiki.



        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org