We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5452
    • 41 Posts
    I installed MaxiGallery...

    I followed the wiki directions to setup a container...

    I followed the wiki directions to setup a child document calling a gallery...

    I followed the wiki directions to create a chunk for &galleryPictureTpl so i could tell the gallery at what url (directory) the pics are...

    The chunks not working when used the way the wiki example has it...

    [!MaxiGallery? &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1` &galleryPictureTpl=’memSub06-20-08’!]

    that doesn’t work...

    [!MaxiGallery? &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1` &galleryPictureTpl=’{{memSub06-20-08}}’!]

    that shows the chunk with the rest of the text around it...

    Please help me!

    All the best,
    ~Slim~
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You’ve got single-quotes around that last parameter value instead of backticks smiley
        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
        • 5452
        • 41 Posts
        Backticks... {{ }} around the chunk name instead of the single quotes...

        [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1` &galleryPictureTpl={{memSub062008}}!]

        gave me this in page preview...

        [[MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1` &galleryPictureTpl=[+maxigallery.embedtype:is=`smoothgallery`:then=`


        `+] [+maxigallery.embedtype:isnot=`smoothgallery`:then=`
        [+maxigallery.embedtype:is=`slidebox`:then=` `+] [+maxigallery.embedtype:is=`lightboxv2`:then=` `+] [+maxigallery.embedtype:is=`slimbox`:then=` `+] [+maxigallery.embedtype:is=`popup`:then=` `+] [+maxigallery.embedtype:is=`external`:then=` `+] [+maxigallery.embedtype:is=``:then=` `+] [+maxigallery.picture.title:isnot=``:then=`

        `+] `+]]]

        ~Slim~
          • 5452
          • 41 Posts
          I think I got it now.
            • 5452
            • 41 Posts
            Is there a way to make all the thumbs the same size regardless of what the original image dimension is?
              • 3287
              • 12 Posts
              Is there a way to make all the thumbs the same size regardless of what the original image dimension is?


              Check this thread out: http://modxcms.com/forums/index.php/topic,19628.0.html

              Specifically, see Dimmy’s post referencing this site: http://www.brandnewpph.nl/fotos.html

              Technically, the thumbs are not all the same size, but the excess is hidden from view.

              Good luck!

              bhop