We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2878
    • 81 Posts
    I would like to make the thumbnail on the main gallery’s listing page
    smaller then the sub page gallery thumb nails < is this possible?

    Been searching the forum and have seen nothing in the ballpark for this.

    Thank you,
    bauhaus9
      • 26016
      • 561 Posts
      Yes, you just need to use the &max_thumb_size parameter on your call, and adjust to taste. 130 is the default, so just try a lower number. More info here:

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

      One thing that you need to know is that if you have already uploaded pictures to your main gallery listing, you can’t just add the parameter, you’ll need to re-add the photos, because that parameter works when you upload the photos, that’s when the thumbnails are created.

      Cheers, Dave
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 2878
        • 81 Posts
        Quote from: samba at Jul 21, 2010, 07:50 PM

        Yes, you just need to use the &max_thumb_size parameter on your call, and adjust to taste. 130 is the default, so just try a lower number. More info here:

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

        One thing that you need to know is that if you have already uploaded pictures to your main gallery listing, you can’t just add the parameter, you’ll need to re-add the photos, because that parameter works when you upload the photos, that’s when the thumbnails are created.

        Cheers, Dave

        Thank you for your reply.
        http://wiki.modxcms.com/index.php/MaxiGallery < Viewing this information I know that I can add &max_thumb_size=`110`.

        Which I have in my Gallery 1 page like so. >
        [!MaxiGallery? &display=`embedded` &pics_per_row=`3` &max_thumb_size=`500` &max_pic_size=`650` &thumb_use_dropshadow=`1`!]
        I want the thumb nails to be large on this page and this code works.

        But I have this code on My Galleries page per the link example. >
        [!MaxiGallery? &display=`childgalleries`!]
        To list out all the gallery’s and it is here that I would like the one thumb nail that represents each Gallery to be smaller and I have tried adding to this code like this. >
        [!MaxiGallery? &display=`childgalleries` &max_thumb_size=`150`!]


        This is my point of con-tension.
        Thanks again,
        bauhaus9
        And this does not work even if I clear all gallery’s out an reload the pics.
          • 26016
          • 561 Posts
          Oh, sorry about that. I thought that would work. Then I would guess that the root page just pulls in whatever the other pages made.

          I don’t give up easily, though. smiley I just used the following change in my own CSS and made the thumbnails smaller. Note the width parameter, which you could change to taste:

          ul.thumbs li img {
          border:medium none;
          margin:0 !important;
          width:90px;
          }


          This CSS can be found in /assets/snippets/maxigallery/css/default.css, and you may need to limit that change to just the root page so it doesn’t mess up the individual galleries. That is too much to really describe quickly, but suffice it to say that you may need to play with the templates a bit.

          You may need to adjust your titles a bit with CSS, too. I’ll leave that up to you now that you have the idea.

          Cheers, Dave
            MODx and Wordpress development
            Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
            • 2878
            • 81 Posts
            Quote from: samba at Jul 22, 2010, 11:51 AM

            Oh, sorry about that. I thought that would work. Then I would guess that the root page just pulls in whatever the other pages made.

            I don’t give up easily, though. smiley I just used the following change in my own CSS and made the thumbnails smaller. Note the width parameter, which you could change to taste:

            ul.thumbs li img {
            border:medium none;
            margin:0 !important;
            width:90px;
            }


            This CSS can be found in /assets/snippets/maxigallery/css/default.css, and you may need to limit that change to just the root page so it doesn’t mess up the individual galleries. That is too much to really describe quickly, but suffice it to say that you may need to play with the templates a bit.

            You may need to adjust your titles a bit with CSS, too. I’ll leave that up to you now that you have the idea.

            Cheers, Dave


            Thank you again for your help.
            I’m confused thought I’ve tried your suggestion and it works but it does the same thing to all thumbs on all the pages. Just like the &max_thumb_size=`500` does the same size changes to all pages. How are you getting the default css > ul.thumbs li img < to affect only the main gallery page?

            bauhaus9