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 absent42. See the first response.

    • discuss.answer
      • 42046
      • 436 Posts
      You can use [[+fileurl]] or [[+image_absolute]] a template chunk instead of [[+thumb]]

      <img src="[[+image_absolute]]" />
        • 44258
        • 33 Posts
        Quote from: absent42 at Aug 02, 2013, 07:19 AM
        You can use [[+fileurl]] or [[+image_absolute]] a template chunk instead of [[+thumb]]

        <img src="[[+image_absolute]]">

        it work well.