We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11798
    • 43 Posts
    Quote from: goldsky at Apr 23, 2010, 12:43 PM

    ...
    My Javascript skill is still at 1st grade. rolleyes

    See the examples at my test site.

    C’mon,
    Someone out there must be able to help me to make this thing perfect.

    If I only could help here. But you’re doing good. I’ve just tested it and it’s almost perfect.

    And I like the ’President Taxi’ picture! laugh
      • 4620
      • 12 Posts
      Hi!

      I can’t help you either..

      Thanks for your effort, this community is really remarkable! wink

      Well, I’m going to test it now.. Apparently in IE8 I still can’t see the transitions/preloader between images (IE must die!), but this can be another issue to the Javascript-Guru who is going to give a hand here.

      Carins

        • 11055 ☆ A M B ☆
        • 3,112 Posts
        pheeww... :’(

        I found the problem, although I can not fix it right away.
        It came from the jQuery history plugin, which occured so much problems at its implementation, especially on cross-browser compatibility.

        So if you don’t need that jQuery history plugin, just set in the gallerific-5.js at line 34:
        enableHistory:             true,
        

        to be
        enableHistory:             false,
        

        It is the current trick to avoid conflict with QuickManager.
          Rico
          Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
          MODx is great, but knowing how to use it well makes it perfect!

          www.virtudraft.com

          Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

          Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

          Maintainter/contributor of Babel

          Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
          • 20135
          • 188 Posts
          Quote from: goldsky at Apr 20, 2010, 03:56 AM

          Quote from: moniarde at Apr 20, 2010, 02:46 AM

          Hi, quick question: Has anyone tested the capacity of the gallery? What’s the maximum limit that the gallery or MODx can deal with?
          Depends on server’s settings (php’s limitation, RAM/clock speed for file processing).

          My last project is handling 350-400 MB, 1900 files, 258 folders.
          I’m not saying it’s enough, since my client is expecting that site should handle 5 times more of the current size.
          The database is still adding up.
          So, the test has not yet got its limit for now on.
          I don’t know about other people.

          Thanks for that, good to know.
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            Answering ddim @ http://modxcms.com/forums/index.php/topic,23177.msg285192.html#msg285192 :

            1. there is a bug in the renaming, please see the second post of this thread.

            2. Please update the e2g.snippet.class.php, line 703, as below function:
            <?php // highlighting
                private function _activate_libs($row) {
                    require E2G_SNIPPET_PATH.'config.easy2gallery.php';
                    require E2G_SNIPPET_PATH.'includes/config.libs.easy2gallery.php';
                    global $modx;
                    if (file_exists( E2G_SNIPPET_PATH . 'langs/'.$modx->config['manager_language'].'.inc.php')) {
                        include_once E2G_SNIPPET_PATH . 'langs/'.$modx->config['manager_language'].'.inc.php';
                    } else {
                        include_once E2G_SNIPPET_PATH . 'langs/english.inc.php';
                    }
                    $css = $this->cl_cfg['css'];
                    $glib = $this->cl_cfg['glib'];
                    $charset = $this->lng['charset'];
                    $name_len = $this->cl_cfg['name_len'];
                    $mbstring = $this->cl_cfg['mbstring'];
            
              Rico
              Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
              MODx is great, but knowing how to use it well makes it perfect!

              www.virtudraft.com

              Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

              Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

              Maintainter/contributor of Babel

              Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
              • 6848
              • 52 Posts
              Hi,
              Thank you for the fast answer.
              Sorry I didn’t see the new topic for 1.4
                • 6848
                • 52 Posts
                Hi,
                I have serious problem with utf8 support of the gallery (or I don’t understand something?)
                Until today I had version, called 1.4.0 beta3 from 2nd of April. This version had some minor issues but it was perfectly working with utf8 filesystem (linux for example)
                Today I updated it with the version you provide as zip (mainly because of the additional gallerific support which had the files compatible with this version)

                In this version you always process file names with utf8_decode function. This completely kills the functionality under-utf8 aware file system (specially when using non latin names)

                Please correct me if I’m wrong, but how this fits to the "...ONLY support UTF-8 filenames/folders..." in the descripton?

                Or I’m missing something?

                If I’m correct with my suggestion that you are using this to be compatible with some non utf8 file system, may be this processing should be parametrized and the default should be not do do it.

                Regards,

                Some more info, because I see some functions in the code are locale dependant
                My server locale settings are:

                LANG=en_US.UTF-8
                LC_CTYPE="en_US.UTF-8"
                LC_NUMERIC="en_US.UTF-8"
                LC_TIME="en_US.UTF-8"
                LC_COLLATE="en_US.UTF-8"
                LC_MONETARY="en_US.UTF-8"
                LC_MESSAGES="en_US.UTF-8"
                LC_PAPER="en_US.UTF-8"
                LC_NAME="en_US.UTF-8"
                LC_ADDRESS="en_US.UTF-8"
                LC_TELEPHONE="en_US.UTF-8"
                LC_MEASUREMENT="en_US.UTF-8"
                LC_IDENTIFICATION="en_US.UTF-8"
                LC_ALL="en_US.UTF-8"

                Have in mind that function like "basename()" would not return anything from utf8 paths if LC_ALL is not set to correct UTF-8 settings.
                  • 11055 ☆ A M B ☆
                  • 3,112 Posts
                  Quote from: ddim at Apr 29, 2010, 06:33 AM

                  If I’m correct with my suggestion that you are using this to be compatible with some non utf8 file system, may be this processing should be parametrized and the default should be not do do it.
                  Regards,
                  Hmm...
                  I worked too much on my Windows box, never realized the Linux environment.
                  Give me some hours.
                    Rico
                    Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                    MODx is great, but knowing how to use it well makes it perfect!

                    www.virtudraft.com

                    Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                    Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                    Maintainter/contributor of Babel

                    Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                    • 6848
                    • 52 Posts
                    Do you want a package, working under linux?
                    If yes, take it from http://www.nitbg.com/easy2.tar.gz
                    This is only the module folder.
                    Ignore files which have some extensions after .php - these are different experiments
                    Actually the changes are mainly to remove utf8_decode and utf8_encode functions.

                    If I can give you a hint, probably the best would be to check the OS and the Locale and to encode/decode accordingly?
                    And I would think more about using iconv functions instead of utf8_decode/encode.


                    One interesting thing you can check are the modifications in style.css.
                    I think this is better to have thumbnails with layout and "free" size (not compatible with IE6 and lower)
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      I intend to add an AJAX-based rating system to this; do you have any suggestions or ideas on how this could best be done, or warnings of anything I should be careful with?

                        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