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.1-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.1

    • *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

    New in 1.0.0

    • Added fix to prevent uploading of files with spaces in names, converts old files to non-space names
    • Now respects Revolution xhtml_urls setting for ampersands
    • Fixed ampersand issue in Gallery URLs
    • Fixed phpthumb cache issue by using core phpthumb
    • Fixed port issue on thumbs
    • Updated Russian translation
    • Added custom TV for adding Gallery Items straight onto a page via a TV
    • Added crop/resize/rotate support, plus more, to custom TV


    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
      • 14524
      • 8 Posts
      I’ve installed this module, but when I import images to the gallery the thumbnails are missing or just not generate at all.

      I’ve looked in the documentation and noticed that there was a mentioning about the path to the gallery.phpthumb. Is the gallery module contingent upon another module?

      I looked in the system settings of my installation to see where this lead and found that I don’t have it. So I searched the extras on the modx site and saw that there is a module for it, but there’s no download link and it doesn’t show up in the package manager either.

      Is there something else I should be doing?
        • 10235
        • 2 Posts
        Hi !

        Snippet is great, but I think it still requires a lot of work. Documentation is very poor. For beginers, launching the gallery may be a problem.

        - Is it possible to disable the tags and decriptions in snipppet gallery.gallery? If the images they have, they are always displayed.
        - I have a problem with the validation of the W3C validator because it shows a lot of errors, "unescaped & or unknown entity"
        For example:
        unescaped & or unknown entity "&w"
        unescaped & or unknown entity "&h"
        unescaped & or unknown entity "&zc
        unescaped & or unknown entity "&galAlbum"

        ...
        and many more

        And another validation errors: "<a> attribute" name "has invalid value
        <a> cannot copy name attribute to id

        My doctype is: "-//W3C//DTD XHTML 1.0 Strict//EN"

        MODx 2.0.0-PL Traditional

        PHP 5,2
        Server MySQL 5.1.48
        client 5.0.83
        server Apache

        --
        Thx
        Peter
        (Fryc)

          • 25534
          • 7 Posts
          I like this plugin but I would love if it had the same lightbox functionality of evolution’s easy 2 gallery.
          I saw the gallerificPlus plugin but I can’t seem to get the integration right.
          • I’ve said it before, and I’m sure I’ll say it again many times. The Javascript functionality can be done with any javascript gallery you want. The Gallery add-on is used to manage your images, and its tpl is used to output whatever format the Javascript gallery you’ve chosen requires.

            Get your chosen Javascript gallery working with the structure it wants hard-coded for two or three images. Then just set up your Gallery tpl to generate the same structure, and replace the hard-coded structure with the Gallery call.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 25534
              • 7 Posts
              I got it through some javascript string replacement. It works indeed! www.treselle.com.br/beta/produtos.
                • 17723
                • 221 Posts
                Hi Splittingred,

                Thank You for a great add on. I’ve used it on one of my projects and it worked like charm !!!

                I’ve encountered a problem recently, installing it on other server. Images doesn’t get displayed either back end or front end. I would just get title of the image display. It seams for me like phpThumb issue.

                My environment is:
                MODx Revolution 2.0.0-pl rev7212
                PHP Version 5.2.9
                MySql 5.0.91

                It would be grate if You could give me some advice where to look for solutions.

                Blessing,
                Luke
                  Lucas from AroundCyprus.net
                  • 5102
                  • 9 Posts
                  Working on a site that has two different galleries on the homepage. Once the page has loaded, everything appears to be working as it should. The trouble is that I don’t seem to be able to get the phpthumb caching working. The time it is taking to load the images (several seconds each) suggests that it is manipulating each image every time it is requested. Is there a special setting for this somewhere that I could be missing?

                  Running version 1.0.1-rc2 of the Gallery snippet, an example of the snippet call is below.
                  [[Gallery? &album=`3` &thumbTpl=`rv.sideBarGalleryItem` &imageWidth=`295` &imageHeight=`147`]]

                  The "rv.sideBarGalleryItem" chunk is below for reference.
                  <img src="[[+image]]" width="295" height="147" alt="[[+name]]" />


                  Both Gallery calls on the page are basically the same, with the exception of the album id and specified image dimensions.

                  The site is hosted on a VPS server running Apache/2.2.15 (Unix), PHP 5.2.13, and MySQL 5.0.91-community.

                  Any help is appreciated, thanks!
                  • I’m also getting this bug: http://github.com/splittingred/Gallery/issues#issue/27 when I click "choose an image" and the Gallery Browser pops up there’s no file-tree on the left hand side and no way for me to choose images.

                    I’m pretty sure I’ve setup all the correct paths, etc in the system settings - has anybody got ideas how I could solve this?

                    I’ve also tried this on different browsers and two different sites on different servers and I’m getting the same issue - the normal image TV works fine, the standard MODx Browser loads the /assets/images/ folder.
                      MODX Ambassador for Thailand. Managing Director at Monogon, a web design and development studio based in Bangkok, Thailand. - Follow me on Twitter.
                      • 5102
                      • 9 Posts
                      Quote from: Chip at Sep 12, 2010, 12:10 AM

                      Working on a site that has two different galleries on the homepage. Once the page has loaded, everything appears to be working as it should. The trouble is that I don’t seem to be able to get the phpthumb caching working. The time it is taking to load the images (several seconds each) suggests that it is manipulating each image every time it is requested. Is there a special setting for this somewhere that I could be missing?

                      Running version 1.0.1-rc2 of the Gallery snippet, an example of the snippet call is below.
                      [[Gallery? &album=`3` &thumbTpl=`rv.sideBarGalleryItem` &imageWidth=`295` &imageHeight=`147`]]

                      The "rv.sideBarGalleryItem" chunk is below for reference.
                      <img src="[[+image]]" width="295" height="147" alt="[[+name]]" />


                      Both Gallery calls on the page are basically the same, with the exception of the album id and specified image dimensions.

                      The site is hosted on a VPS server running Apache/2.2.15 (Unix), PHP 5.2.13, and MySQL 5.0.91-community.

                      Any help is appreciated, thanks!

                      Just a quick update to say that this issue appeared to be resolved with the release of Revolution 2.0.2.