We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6335
    • 20 Posts
    Hello! First off, thanks for a modern photo gallery module for MODx. I think EvoGallery will work great for our needs, but we do have some issues getting it working. First, in the manager module, after we upload an image, we see the thumbnail but it’s black. This happens for all images, which makes it difficult to use the ordering (a great feature I know some of my clients will appreciate). I loaded the thumb_handler.php page manually, and it’s always a blank page (no image info or any info at all). The images do show up through the snippet and I checked that both the thumbnail and the regular sized image exist on the server.

    We haven’t tried everything yet but I believe the other manager functions work fine. On the implementation side, we are struggling to get the snippets working. I have been reading the documentation and do understand the available templates (but we are not chunk template experts, so the answers may be obvious). Just a short description of what we want is for pages to be galleries of thumbnails that can be clicked to open the larger image (in a lightbox environment or new page, something). Considering the flexibility of EvoGallery, I know it can do this with little effort, we just need to get the snippet correct. All we can do so far is make all images show on the page (they were too large for our template, but I found the configuration option to make the images smaller by default), or a set of thumbnails that are clickable but not well formatted. To try and control the format through the item template, we copied the default item template and created a new chunk for the item template variable. However, we were able to get just one image or thumbnail to show up. I played with the galleries setting for the display parameter, but was never able to get anything to show (return from the snippet always visibly blank). The main gallery page does have child pages where we have also uploaded images for testing, but the way the galleries behaves may not be understood by us.

    I was hoping that we would just need to change the item template to show the thumbnail, then we could make a link after setting up a lightbox environment or something else. We tried the jquery-cycle, just to see how it worked, but this only caused all the large images to show, overlapping one another.

    One of our snippet calls is the following. This returns a very broken list of thumbnails for some of the images. Some of the thumbnails do not show but the link is there and can be clicked to open the image in a new window. Specifically, the thumbnails that do not show correspond to the current document (so if &docId=`56` is added, only the links show with no thumbnails as the images in other pages are not brought in).
    [[EvoGallery? &display=`images` &sortBy=`sortorder`]]

    We have tried the following to take care of the formatting of individual items and not opening a new window (or controlling the link that opens a new window). We were hoping whatever default templates were in place would work with minor changes in the default item template.
    [[EvoGallery? &display=`images` &type=`jquery-cycle` &itemTpl=`gallery_item`]] 


    We copied the item template and changed the image dir to the thumb dir. I had hoped we could turn the image into a link easily to work with lightbox if the jquery-cycle would not work.
    <div class="pic"><img src="[+thumbs_dir+][+filename+]" alt="[+title+]" /><p>[+description+]</p></div>


    When we tried the galleries, it was (have also removed docId to use current page and the itemTpl) the following. This is always blank.
    [[EvoGallery? &display=`galleries` &docId=`56` &itemTpl=`gallery_item`]]


    Any suggestions on what we might be forgetting to consider in the way we are implementing the snippet for a decent looking gallery (including what needs to happen to see the jquery-cycle effect), and anything regarding the thumbnail view in the manager module interface? Thanks in advance for any help you can provide.
      • 10226
      • 412 Posts
      I noticed it is easy to upload images to the wrong document. Also I ran into problems with file names that had characters such as () and spaces especially. To lessen the confusion of the upload locations, I created a simple snippet and chunk, together they will show a link to the evogallery interface for anyone who is logged in (as we only have manager logins where I used it)

      * remove / change the rel for no / proper lightbox support

      <a href="/manager/index.php?a=112&id=2&action=view&content_id=[*id*]" rel="shadowbox" class="editor" title="evogallery">Upload to / Edit this page.</a>


      and call this snippet with the above named chunk

      <?php
      $return = '';
      if(isset ($_SESSION['mgrValidated'])){
          $return = $modx->getChunk($chunk);
      } 
      return $return;
      ?>


      I re-wrote the majority of the code to suit my needs for watermarking and controlling quality, I do not know if this is where the funny filename support was lost or broken - just my experience.

      I did notice many little bugs along the way and changed many things, but for your snippet problem, you should create a very simple snippet to show just the filename or thumbnail. This was probably the most helpful reference I have found http://rtfm.modx.com/display/ADDON/EvoGallery#EvoGallery-TemplatePlaceholders

      I got into this add-on because photobucket has become way too ’modern’ so I make my own http://pics.boasbysatyra.com/access/general/ and here is a peek of the manager page with my new tweaks http://screencast.com/t/wBHXHgRRMx

      Good luck!
        • 18373 ☆ A M B ☆
        • 3,141 Posts
        This project needs to be picked up by someone and desperately needs a new release...


        This topic is full of bugfixes but nobody is putting them in the Repository.. leaving the bugs out there.


        I’m personally focusing my development on Revolution - is there anyone who could pick this up?
          Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

          Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
          • 9995
          • 1,613 Posts
          Indeed, this module ownes, very easy to set up, to bad i’m not capable of programming.

          Only bug im having is that the uploading from the images in FF gives freezes when u upload more as +/- 10 images, and IE gives also errors but it does work.
          Pointed this out before a couple of messages up, could be a hosting problem since i haven’t heared of these problems from others but think it’s really weird sad
            Evolution user, I like the back-end speed and simplicity smiley
            • 18373 ☆ A M B ☆
            • 3,141 Posts
            I think I have the programming skills needed for this, but I’ve not done any evo programming in ages plus I really want to move forward with other (Revolution) addons and projects I have in mind..


            If nobody steps up that is still focused on Evolution I might as well just put this on Github and start collecting bugs & the fixes so I can add them when I have time... that’s better then sitting around seeing this module go to waste.
              Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

              Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
              • 10226
              • 412 Posts
              Quote from: Mark at Jan 12, 2011, 08:27 AM

              I think I have the programming skills needed for this, but I’ve not done any evo programming in ages plus I really want to move forward with other (Revolution) addons and projects I have in mind..


              If nobody steps up that is still focused on Evolution I might as well just put this on Github and start collecting bugs & the fixes so I can add them when I have time... that’s better then sitting around seeing this module go to waste.

              I don’t have time to actively develop, but I will gladly hand over my tweaks to someone who does have time. I would also love to see paging support too. If someone wants to pick this up for evo, pm me and I’ll get you a copy of my tweaks.
                • 23299
                • 1,161 Posts
                I use both Evo Gallery and MaxiGallery on my Evo sites. I really hope these great projects don’t wither on the vine while Revo gets all the attention.

                I have tried Revo a few times. I fall in the dogs and tricks category I guess. But I find the Revo gallery options frustrating and limiting when compared to Evo Gallery and MaxiGallery on Evo. If Revo had more image presentation options that were simple to install and operate I would try harder to connect with Revo.

                Anyways, I hope some god people pick up the mantle here...
                  • 18373 ☆ A M B ☆
                  • 3,141 Posts
                  I’ll try to put it on github sometime soon, maybe next week, and then I’d love if people can help updating the code, forking the code and sending pull requests for the commits. It’s been a while since I used this and there’s *a lot* to improve, but it would benefit a lot of people for sure... this is one sweet addon.

                  This community rocks - I’m sure if all of the people who love this addon spend a little bit of time on it we can pull it off to make this even better.
                    Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                    Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                    • 18453
                    • 66 Posts
                    This gallery is just great!!
                    Thank you Bravado for making this available to us!

                    Are you still updating this module?
                    If you are still working on it, then I would like to request some functionality:

                    If a resource that is related to a gallery gets deleted, then it has to delete the files of that gallery also..

                    Or if that is to complex, then it would be an option to have a global function to check if all the resources that relate to galleries exist.
                    And if a resource relation to a gallery is broken that it deletes the images of that gallery.

                    Thanx again for your effort!
                      • 18373 ☆ A M B ☆
                      • 3,141 Posts
                      There’s not been an update since the first beta, unfortunately.


                      I’ve just set up a repository on Github to reincarnate this awesome addon: https://github.com/Mark-H/EvoGallery

                      Please file your bugs, improvements, features etc there, then hopefully with loads of help from the community we can release a new version of this.



                      I’ve attached a 1.1-beta. Not tested (at all), but I implemented all the code that was confirmed working in this topic.
                        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.