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

    Can anybody explain, how should I change the "gallerypicturetpl" in order to get preview in aligned in three columns?
    Looks like I’m a little bit lost with the templating feature of maxigallery smiley

    Regards,
    Stepan
      • 7923
      • 4,213 Posts
      What into three columns? the thumbnail view? or the picture view? and if later, how?

      If you wan’t the thumbnails in three columns, either set the width for the gallery main div container to the size that is right for 3 columns or use the pics_per_row parameter (check the parameter name) to make it add
      what has clear:both in it after each 3 images.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 26307
        • 8 Posts
        If you’ll take a look on http://listik.lealta.ru/index.php?id=38
        I mean how could I put thumbnails in three columns one under one...
          • 7923
          • 4,213 Posts
          did you try that pics_per_row parameter?


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 26307
            • 8 Posts
            yes.. but it doesn’t help, really.. with any numbers of thumbnails per row I have free spaces in some rows sad
              • 7923
              • 4,213 Posts
              could you set it to 3, just for my amusement, so I’ll have a chance to see how it looks.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 26307
                • 8 Posts
                You can take a look on this one...

                http://listik.lealta.ru/index.php?id=40

                It is displayed by the following call:

                [[MaxiGallery? &titles_in_overview=`1` &display=`embedded` &embedtype=`slidebox` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]

                Right now on site the css is the default one from ver. 0.5
                  • 7923
                  • 4,213 Posts
                  The parameter is pics_per_row not pics_in_a_row. There is a mistake in the "documentation".. So try using &pics_per_row=`3`.


                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 26307
                    • 8 Posts
                    Looks like it didn’t help too much smiley Here is the result:

                    http://listik.lealta.ru/index.php?id=40

                    The snippet call is:

                    [[MaxiGallery? &titles_in_overview=`1` &display=`embedded` &embedtype=`slidebox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]
                      • 7923
                      • 4,213 Posts
                      Yes, I already thought that it won’t fix it, just wanted to see what it did.. But I’m not very strong on CSS anyways, so not sure if I’m able to help you very fast, I’d have to spend some time on it.. Try removing the following from MaxiGallery css, or change the width to 100%

                      .thumbs {
                      width: 90%;
                      }


                        "He can have a lollipop any time he wants to. That's what it means to be a programmer."