We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12147
    • 182 Posts
    Thanks for your responses!

    When I inspect with Firebug, it shows a <div id="myGallery"> which is where the (wrong) height is stated. The only CSS I added was a container, but with no sizes specified. The jQuery no-conflict statement before the actual div includes "#myGallery" but specifies no size. Does it make sense that the div#myGallery (and therefore size) is generated? Just not sure why it’s not quite correct, if so, since all my photos measure 3px less in height than what’s being generated.

    I uploaded a photo sized to fit what’s showing up in Firebug, and that has increased the 3px gap to 6px, so seems like Evo is taking the largest size of the photos and using that as a baseline size (and adding the 3px to the bottom).

    I could just remove the border, of course, but where would the challenge be in that? wink
      • 9995
      • 1,613 Posts
      overflow:hidden lipsrsealed
        Evolution user, I like the back-end speed and simplicity smiley
        • 12147
        • 182 Posts
        Thanks! That would work, for sure - but this size is being generated somewhere, somehow (it’s not something I’ve specified).

        Removing the border seems the simplest solution; cracking this issue may have to wait... >:(
          • 9995
          • 1,613 Posts
          hmm dunno, if you want a border where IE and FF gives different div sizes u can give border:0 and padding 1px and background-color:#xxx, or use a background image.
          i’m not following your problem that good, is it a problem with the image that isnt being resized correct, maybe u can give an example url?
            Evolution user, I like the back-end speed and simplicity smiley
            • 12147
            • 182 Posts
            Fourroses,

            Something seems to be miscalculating the actual height of the photos and 3px is being added to the bottom of each. I’ve searched for what might be doing this and can’t find huh It’s not a css problem, afaik.

            Great gallery, so wish I could solve this riddle undecided But otherwise, without the borders I had to get fancy with, no one will notice.
              • 9995
              • 1,613 Posts
              Ok, thats weird, are u sure u placed eveywhere the same height and widths, like in config and chunks?
              U might use phx:phpthumb to generate sizes.
                Evolution user, I like the back-end speed and simplicity smiley
                • 12147
                • 182 Posts
                Thanks - as usual, I just didn’t look far enough. The CSS is in the jquery-cycle folder, inside the evogallery folder, inside Snippets. Apologies, and many thanks for the thought given to my so-called problem. Eesh! rolleyes
                  • 8790
                  • 526 Posts
                  Hi,

                  I just setup another Evogallery (the second one actually) on another site I rebuild (previous modx0.96 updated to 1.04)
                  When going to module, I can select images files, and the list is built.

                  But the ’upload’ button as strictly no reaction. (corresponding link is like:
                  http://www.xxxx.tld/manager/index.php?a=112&id=3&action=view&content_id=90#


                  really need to make it run.

                  thank you
                  Edit :
                  I see this error msg in the module management page
                  Warning: Invalid argument supplied for foreach() in /homez.23/transporjz/www/assets/modules/evogallery/classes/management.class.inc.php on line 281


                  edit2
                  comparing with another site where evogal is ok, I see in the manager’s page html code, right before the upload/clear queue links :
                  <object width="110" height="30" type="application/x-shockwave-flash" data="/assets/modules/evogallery/js/uploadify/uploadify.swf" id="uploadifyUploader" style="visibility: visible;"><param name="quality" value="high"><param name="wmode" value="opaque"><param name="allowScriptAccess" value="sameDomain"><param name="flashvars" value="uploadifyID=uploadify&pagepath=/manager/&buttonText=Select%20Files&script=/assets/modules/evogallery/upload.php&folder=/assets/galleries/58&scriptData=id%3D5%26a%3D112%26SN4c1f1495b3a0d%3D5048c17edde8aa66c896f1027e33469f%26action%3Dupload%26js%3D1%26content_id%3D58&width=110&height=30&wmode=opaque&method=POST&queueSizeLimit=999&simUploadLimit=2&fileDesc=Image Files&fileExt=*.jpg;*.png;*.gif&multi=true&sizeLimit=2097152&checkScript=/assets/modules/evogallery/check.php&fileDataName=Filedata"></object>


                  Wich is totally absent from this managers ’page html ..??
                    Schtroumpf Grognon - Grouchy Smurf
                    ---------------------------------
                    Faites pas attention.. - Don&#39;t pay attention
                    http://www.dzi-neo.net
                    • 10226
                    • 412 Posts
                    Looks like there is something wrong with the multiple docs function

                    SQL: SELECT * FROM `fruitwerks_jb`.`modx_portfolio_galleries` WHERE (content_id = '82' ORcontent_id = '84') ORDER BY sortorder ASC 


                    The error is obvious, here is my call:
                    [[EvoGallery? &display=`images` &docId=`[[getChildren?&pid=`[+id+]`]]` &type=`simple-list` &sortBy=`sortorder`]]


                    Before you jump to conclusions, this call does the same thing as well
                    [[EvoGallery? &display=`images` &docId=`82,84` &type=`simple-list` &sortBy=`sortorder`]]


                    Does nobody use this feature? Or is something on mine broken? I looked for the code that generates the SQL, but didn’t find it.

                    Thanks!

                    -- edit
                    Actually I just found in line 163 of gallery.class.inc.php;
                     $docSelect .= "content_id = '" . $docId . "' OR";
                    

                    changing it to
                     $docSelect .= "content_id = '" . $docId . "' OR ";
                    
                    solved the issue, anyone else experience this? - or feel like testing smiley
                      • 10226
                      • 412 Posts
                      Have a small issue with the templates, if I call a snippet from a template (the ones on disk) it doesn’t quite work right smiley

                      <div class="photo">
                                 <a class="thumb" rel="shadowbox[flow]" href="[+images_dir+][+filename+]" title='<a href="[!giveLink?&tid=`[+id+]`!]">View all pics for [+alias+]</a>'>
                                      <img src="[+thumbs_dir+][+filename+]" alt="[+title+]" />
                                  </a>
                      </div>
                      


                      [!giveLink?&tid=`[+id+]`!]


                      It parses and returns the info, but it doesn’t return the right info, cached or not

                      The snippet is simple..

                      <?php
                      return $modx->makeUrl($tid, '', '', 'full');
                      ?>


                      But it does not return a valid FURL when called from the template, I get back the ’id’.html or domain.tld/’id’.html in full mode.

                      The idea here is to return a clickable link to view an entire gallery from a ’summary’ of galleries - so I need the url for the gallery returned in the template so I can click it from shadowbox.

                      Thanks!