We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44657
    • 19 Posts
    I'm using the gallery addon for modx revolution, and I want to display all the images in an album at once, at full size (so no thumbnails). So what I want is very simple, basically this:

        <div id="album">
          <img src="image1.jpg" />
          <img src="image2.jpg" />
          <img src="image3.jpg" />
        </div>


    Now I know I can use:

        [[!Gallery? &album=`albumname`]]


    to display all images in an album, but this automatically resizes all images to a thumbnail. How do I disable the automatic thumbnailing?


    p.s.: I know how to format the output with containerTpl and thumbTpl, so that's not an issue. My only question is how do I disable the automatic thumbnailing (which is done by phpthumb, I believe)? I could also pass arguments to phpThumb, so disabling phpthumb itself could also work.

    This question has been answered by davidpede. See the first response.

      • 42271
      • 21 Posts
      I have the same problem. The only solution I could find is this:

      https://code.google.com/p/galleriffic/issues/detail?id=91#c4

      But it sure would be great to see it implemented in the Gallery Add-On
        To every Problem there is ModX Solutions
      • discuss.answer
        • 44234
        • 219 Posts
        I think the only way of avoiding the use of phpthumb is to use the image_absolute placeholder in your template. I would do:

        &containerTpl:
        <div id="album">
          [[+thumbnails]]
        </div>
        

        &thumbTpl:
        <img src="[[+image_absolute]]" />
        

        Remember, don't adjust and use the default template chunks, make your own. This is because the defaults will be overwritten when you update Gallery to a newer version.
          Find me on Twitter, GitHub or Google+
          • 10208 ☆ A M B ☆
          • 1,780 Posts
          With a little patience, one could plan to use MoreGallery from Modmore. https://www.modmore.com/beta/

          Can display your images as you please, whatever size you like, and the resource interface is pretty amazing as well. I'm not sure if there are still beta slots available, but it can't hurt to put a request in.
            Frogabog- MODX Websites in Portland Oregon
            "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
            Having server issues? These guys have MODX Hosting perfected - SkyToaster
            • 44657
            • 19 Posts
            Quote from: davidpede at Aug 09, 2013, 10:27 AM
            I think the only way of avoiding the use of phpthumb is to use the image_absolute placeholder in your template. I would do:

            &containerTpl:
            <div id="album">
              [[+thumbnails]]
            </div>
            

            &thumbTpl:
            <img src="[[+image_absolute]]">
            

            Remember, don't adjust and use the default template chunks, make your own. This is because the defaults will be overwritten when you update Gallery to a newer version.

            Thanks for your reply, this works wonderfully!