We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22969
    • 158 Posts
    Sorry if im missing something really obvious but how do I set what size the thumbnails and main images etc are when they have been uploaded, at the moment the thumbnails are 110px? Also can I have different sizes for say the parent thumbnails and child galleries thumbnails?

    Sorry if im being silly.

    Cheers
    Brett
      • 26931
      • 2,314 Posts
      Hi Brett,

      see here: http://wiki.modxcms.com/index.php/MaxiGallery

      Parameters:
      &max_big_size ( &keep_bigimg )
      &max_pic_size
      &max_thumb_size
        • 22969
        • 158 Posts
        Hi Sharkbait,

        Just realised how simple it was cheers!!

        But another question, when I hit my gallery page how do I have it so that the the thumbnails that link though to the child galleries are bigger then the thumbnails created within that gallery if that makes sense?

        Brett
          • 26931
          • 2,314 Posts
          you would need to create a custom childgallery Template http://wiki.modxcms.com/index.php/MaxiGallery#childgalleryTpl

          for additional sizes you could also use phpThumb http://modxcms.com/forums/index.php/topic,41309.0.html
            • 22969
            • 158 Posts
            Hi SharkBait,

            I have got that tpl file in front of me, but how do i go about setting a different width, do I put it in as a pixel atribute?

            I have done this so far, and although its works the image is very bad quality as if it been sized up from an initial much smaller size, the image I uploaded was much bigger then all, so im confused??

            <img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" width="280" class="thumbnail" title="[+maxigallery.strings.go_to_gallery+]" alt="[+maxigallery.strings.go_to_gallery+]" style="float: left;"/>

            Cheers
            Brett
              • 7923
              • 4,213 Posts
              You need to use phpThumb in the template and input the normal image to it, so it will resize it to the size you want. Check the second link what sharkbait posted above.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 22969
                • 158 Posts
                That all seems very complicated, isnt there a way I can change the default sizes that maxigallary has set for images when uploaded, like small, medium and large??

                Cheers
                  • 26931
                  • 2,314 Posts
                  That all seems very complicated, isnt there a way I can change the default sizes that maxigallary has set for images when uploaded, like small, medium and large??
                  :)
                  Parameters:
                  &max_big_size ( &keep_bigimg )
                  &max_pic_size
                  &max_thumb_size
                    • 22969
                    • 158 Posts
                    Oh sorry I think im missing something, so how would I use that?

                    Ill have a play smiley

                    Brett