We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for Gallery 1.0.2-rc2 by splittingred.

    Brief Description:

    Gallery is a dynamic Gallery Extra for MODx Revolution. It allows you to quickly and easily put up galleries of images, sort them, tag them, and display them in a myriad of ways in the front-end of your site.
    New in 1.0.2

    • Add cover ability to GalleryAlbums by using &rowTpl "galAlbumRowWithCoverTpl"
    • [#31] Add &gallerifficUseCss parameter for toggling CSS by Galleriffic
    • Fix issue where Gallery TV albums tree loaded page when clicking on a node


    New in 1.0.1

    • [#54] Added filepath placeholder for getting absolute path of an image, fileurl for absolute URL
    • [#12] Make left-click do update-album in mgr tree
    • Add additional system setting checks for phpthumb config options.
    • *Many* caching improvements to phpthumb-generated thumbnails
    • Added gallery.thumbs_prepend_site_url setting for environments having issues with thumbnails
    • Fixed bugs with HTML in item thumbs, urls when xhtml_urls is true
    • Added French translation

    See the official documentation here:
    http://svn.modxcms.com/docs/display/ADDON/Gallery
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 36461
      • 102 Posts
      Hi,

      I really need some help with outputting galleries. Been reading documentation, but it’s a bit overwhelming for me

      I will have approx 150 galleries and I want them all displayed, I tried using [[!GalleryAlbums?]], all galleries are listed, but only their titles in list are visible, clicking on them doesn’t do nothing.

      Primitive display of what I want to achieve:


                  <div class="album">
                  <h4>[[Gallery Name]]</h4>
                  [[Gallery thumbnail]]
                  <br /><span><strong>[[amount of]]</strong> images</span>
                  </div>


      Also, after clicking on Gallery thumbnail, all thumbnails of clicked gallery appear. When I click on thumbnail bigger picture appears preferably with lightbox 2 or lytebox

      I learned that I need to edit galAlbumRowTpl, but I’m not sure what exactly to edit.



      I used easy2gallery and maxigallery in modx evolution before, which was way more easier Smiley
      It would be really nice if some one could help me out.
        • 36447
        • 98 Posts
        @wonderland: sounds like this thread may show you the way: http://modxcms.com/forums/index.php/topic,59336.0.html
          • 21872
          • 95 Posts
          Would it be possible use a TV with this, or add another field? I need the ability to assign a second unique id that is alphanumeric rather than just an auto incremented id based on upload order.
            • 25551 ☆ A M B ☆
            • 1,231 Posts
            I was wondering about the caching of the images with phpthumb. I have been getting high cpu usage when using phpthumb and read that even if the image is cached it still has run the script to find that the image is cached. Has Gallery got the option to check if a file exits before running the phpthumb script to see if I can reduce the cpu load?

            This site has some info on it but not sure if it’s relevant.

            http://mrphp.com.au/code/image-cache-using-phpthumb-and-modrewrite
              Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
              AugmentBLU - MODX Partner

              BLUcart - MODX Revolution E-Commerce & Shopping Cart
              • 15308
              • 25 Posts
              Hi
              Is there a way to have the position of an image in an album in the galItemThumb chunk?
              I want to display 4 images per row and the last image need to have the class "last" added in <div class="[[+cls]]">
              Regards
                • 5340
                • 1,624 Posts
                You can do this with javascript. If you are using jquery have a look here
                There is another solution using float elements but it might not be for you.
                  • 15308
                  • 25 Posts
                  Hi cipa
                  You’re da man wink
                  Thanks
                    • 18453
                    • 66 Posts
                    Thanx for this nice plugin, I like everything about it and the templating possibilities really make me love this addon.
                    The only problem I have with this plugin is that there is no way to use more TV’s with it or is there?
                    Evogallery for MODx Evolution offers much more flexibility because it handles the albums like resources, so that I can do whatever I like with them.
                    Adding uploadify (multiple file upload) and ability to use TV’s would make this addon really perfect.
                      • 28173
                      • 409 Posts
                      I have posted a question about internationalisation in Gallery : http://modxcms.com/forums/index.php/topic,62111.new.html#new