We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30912
    • 463 Posts
    Thanks evd, i thought i was going a bit crazy there
      • 30672
      • 180 Posts
      hi,

      i just installed the last version and i have a little problem.

      when i try to upload an image, i can select it, when i click "Upload Files" i can see the progress bar works, but at the end i get an error message "HTML error".
      if i check in the galleries folder, the image hasn't been uploaded.

      any ideas?

      thanks!

      by the way, where can i define the max size for upload? if i select an image of 3Mo for example i get directly a message that says the image is too big...
        • 9198
        • 100 Posts
        You install new version or update old version? If update, you update through http://site.com/install/ ?
        Have you permission for upload files on galleries folder? Try set 0777.
        Try upload images in Google Chrome browser.


        You can set max size of upload in MODx configuration on File Manager tab

          • 37244
          • 1 Posts
          troubadour,
          try to add "SecFilterEngine Off" in your .htaccess file.
          Had the same upload error and it works for me wink
            • 35
            • 3 Posts
            Quote from: cipa at Jul 20, 2011, 10:02 AM
            I think I found a bug.

            The Manage Photos button/link only appears if there are more than 2 TVs set up for the document. I'll look into it


            This is because of
            // if template variables containers are empty, remove their section
            if ($j("div.tmplvars :input").length == 0) {
            $j("div.tmplvars").hide(); // Still contains an empty table and some dividers
            $j("div.tmplvars").prev("div").hide(); // Still contains an empty table and some dividers
            //$j("#sectionTVsHeader").hide();
            } 
            

            This JS runs right after EvoGallery's one. So Evogallery replaces INPUT by link and amount of INPUTs become 0.
            Quick fix (gallerylink.inc.php):
                                // add this line
                                $output .= '$j(\'<input type="hidden" name="stub" />\').insertAfter(gl'.$mm_fields[$field]['fieldname'].');'."\n";
                                // ... before this one
                                $output .= 'gl'.$mm_fields[$field]['fieldname'].'.remove();'."\n";
            
              • 36805
              • 354 Posts
              Using the github version (https://github.com/Mark-H/EvoGallery/) I got an EvoGallery running smoothly.

              One last issue I encounter is that pagination will not show even though there are 15 images. It will just show 10 without paging links. My call is like this:

              [!EvoGallery? &paginate=`1` &paginateAlwaysShowLinks=`0` &show=`10` &type=`cits`!]

              Any help would be very much appreciated.
                • 9198
                • 100 Posts
                I'm sorry, but I forgot to specify the documentation that the pagination works like in Ditto. That is in addition you need to adding pagination links, for example
                <div id="evo_pages"> [+previous+] [+pages+] [+next+] </div> 
                
                  • 37910
                  • 2 Posts
                  Hi. I'm using the github version, everything works except pagination (any placeholders does not appear). Please help.

                  [!EvoGallery? 
                    &display=`images` 
                    &type=`simple-list`
                    &itemTpl=`egItemTpl`
                    &itemTplAlt=`egItemAltTpl`
                    &itemAltNum=`3`
                    &paginate=`1`
                    &show=`9`
                    &galleriesUrl=`assets/images/gallery/` 
                    &galleriesPath=`assets/images/gallery/`
                  !]
                  <div id="evo_pages"> [+previous+] [+pages+] [+next+] </div> 
                  
                    • 9342
                    • 50 Posts
                    Hi Ottagal,

                    I got the same problem with you. This is my solution, it works for me.

                    [[EvoGallery? &docId=`[+id+]` &display=`images` &type=`single` &picId=`[+id+]` &limit=`1`]]
                      • 36805
                      • 354 Posts
                      Kudos to you evd for the pagination info. I forgot to report back and thank you. It works great!