We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31227
    • 198 Posts
    Hey,
    I have put the max size for big images 600 but they come out the way they are for eg 1280 = 1280... How can this be fixed?
      Pure MODx sites
      Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
      • 7923
      • 4,213 Posts
      What’s your snippet call?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 31227
        • 198 Posts
        [[maxigallery? &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`3` &max_thumb_size=`140` &thumb_use_dropshadow=`0`]]
          Pure MODx sites
          Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
          • 7923
          • 4,213 Posts
          And where you have put that size limit for "bigger pictures"? and do you mean the pictures that open when clicking on thumbnail or do you mean what opens when you click on the picture on a gallery (altough not possible when using embedded display type).

          &max_thumb_size is used to set the max size of a thumbnail, default is 130.
          &max_pic_size is used to set the max size for the picture that opens when you click on a thumbnail. In embedded or normal gallery mode, default is 600.
          &max_big_size is used to set the max size of the picture that opens when you click on a picture in "view mode" in normal gallery if &keep_bigimg=`1`, default is 1024.

          So if you are using embedded display mode with lightboxv2, you should be able to set the pic size that is opened in lightbox using &max_pic_size parameter. It is allready 600 by default and pictures should be resized to that if they are bigger unless you have modified the snippet code somehow.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 31227
            • 198 Posts
            thats the thing, the images are much bigger yet the max pic size is bigger.
              Pure MODx sites
              Viriko.ru & Viriko.com - Multilingual and running on 1 MODx
              • 7923
              • 4,213 Posts
              So you do mean the pictures that open in the lightbox? Where have you defined the max pic size? try to use that parameter in your snippet call.. and you know that you need to re-upload the pictures?


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 31227
                • 198 Posts
                the settings I put were in the maxigallery snippet, and I am using lightboxv2. Will do so now.
                  Pure MODx sites
                  Viriko.ru & Viriko.com - Multilingual and running on 1 MODx