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

    I’m using MaxiGallery to display several views of a unique object.
    Each object is described by a document, so I have one gallery per document.

    Each gallery displays one large picture and thumbnails of all available views.
    I followed the wiki instructions for this.

    I am wondering if there is some hack to not display any thumbnail when only one picture is available for an object.

    Thanks for any tricks.
      • 7923
      • 4,213 Posts
      You can do a custom galleryOuterTpl and use the [+maxigallery.picscount+] placeholder in PHx to check if it’s greater than 1 and output thumbnails only if it is.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 15001
        • 697 Posts
        Thanks.
        I heard many times about PHx but never tested it. This is a good opportunity to discover it.