We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    Ok 2 Q’s in one post wink

    1. is it possible to get maxigallery to display childgalleries images as one gallery, ie all images from docs 1,2,3 in a single gallery VS a link to the gallery ID?
    2. is it possible to get 2 &display parms? ie &display=`childgalleries,embedded` so we can use it with smoothgallery?


    What I want to achieve is a ’master gallery’ displaying all images from X-Y gallery docs in a single smoothgallery style gallery.

    thanks in advance.
      • 7923
      • 4,213 Posts
      1. Yes, see &gal_query_ids parameter and http://wiki.modxcms.com/index.php/MaxiGallery#Query_examples
      2. The v0.6 test version has &childembedtype, see http://modxcms.com/forums/index.php/topic,24600.0.html

      But, if you are using the &gal_query_ids parameter, you can use just &display and &embedtype

      EDIT: or you can use the &childgalleries_ids and &childgalleries_level_limit parameters and &childembedtype=`smoothgallery`. See MaxiGallery wiki page for more info.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 27330
        • 884 Posts
        doze thanks a lot mate. I’ll try it right now and will post the results. appreciate your quick respond, as usual !
          • 27330
          • 884 Posts
          thanks a lot doze. it worked a charm.

          there is no way I can restrict the size for the images in this gallery correct?
          i mean since the resizing is done in the upload I think the images must be same size as they in the gallery I query from right?

          would be cool if we could use phpthumb to restrict the size per gallery.
          because in my pages gallery I have the size set on 640x480 and in the smoothgallery I have the main container background image set on 500x350 and some images are breaking out.
            • 7923
            • 4,213 Posts
            You can use phpThumb PHx modifier with maxigallery. Just use it in maxigallery templates. You can get the PHx phpThumb modifier from resources repository.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 27330
              • 884 Posts
              hmmm, how would u go about that?
              I tried this but no luck.
              <img src="[+[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]:phpthumb=`h=300`+]" class="full" />
                • 7923
                • 4,213 Posts
                Try:
                <img src="[+phx:input=`[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]`:phpthumb=`h=300`+]" class="full" />


                or:
                <img src="[+maxigallery.picture.filename:phpthumb=`h=300#[(base_url)][+maxigallery.path_to_gal+]#0#1`+]" class="full" />


                Those should work..


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                  • 27330
                  • 884 Posts
                  nice. thank you very much. appreciate your help. works like magic.