We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42046
    • 436 Posts
    Is it possible to filter a Gallery addon album listing according to certain parameters?

    For example only list inactive items allowing me to specify a different tpl chunk for those? Or maybe using conditional templates within a single gallery listing?

    This is in relation to implementation of a javascript lightbox to display all the images in a gallery directory once clicked on. Using tags specifically for this isn't an option. [ed. note: absent42 last edited this post 13 years, 8 months ago.]
      • 42046
      • 436 Posts
      I've solved the particular problem using multiple getPage calls and an offset.

      The first 6 images are displayed using one template and limit, the remainder are displayed using a modified getPage with an offset and a different template to hide the images but allow the lightbox javascript to read them.