We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11055 ☆ A M B ☆
    • 3,112 Posts
    Ow...
    You have to add &gal_desc=`1` to the snippet call.
      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.
      • 25492
      • 4 Posts
      установил Easy 2 Gallery 1,4,0
      modx 1.0.4
      все работает прекрасно в Firefox
      в других браузерах не отображается галерея
      вместо фото вот это

      <noscript>
      <div class="jsdisabled">
      <img src="assets/modules/easy2/templates/default/icons/error.png" alt="" />
      <span>Please enable the javascript</span>
      </div>
      </noscript>
        • 3046
        • 48 Posts
        Привет.

        Качнул себе на сайт, захоуж в модуль а там:

        Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/belkau/data/www/"мойсайт".ru/assets/modules/easy2/install/index.php on line 1253

        Пытался заставить ее работать по умолчанию на англ - не помогло.
          • 32195
          • 78 Posts
          Quote from: goldsky at Mar 10, 2011, 01:57 AM

          Ow...
          You have to add &gal_desc=`1` to the snippet call.

          спасибо работает.
            • 8677
            • 50 Posts
            Quote from: goldsky at Feb 28, 2011, 08:18 PM

            You have a very restrictive server.

            Mmm.. It is very serious server. With high price.
            If I move my site in other server - it’s no guarantee that it will be better.

            What can I do to reduce the overloading on the server?

            Quote from: goldsky at Feb 28, 2011, 08:18 PM

            The script can not process FTP upload, you need to upload through upload page.
            And I believe you can not delete script’s upload.
            Script does the script, FTP user edits FTP uploads.
            So, you MUST also create folder from the module.

            Admin of server says, that I can use both ways - FTP and WEB(script) - if I set 777 on directories and files.
            And it really work - now I can edits folder/files (created by script) with FTP, and I can edit with script those folders/files, which I create by FTP.

            But - may be - it is reason why Easy2gallery overloading the server?
            That I use FTP and I use scripts?



            And can Easy2Gallery use youtube video?
            Can I create gallery, where instead of pictures contains html code (youtube video)?
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              Quote from: Elena at Feb 28, 2011, 12:54 PM

              [Mon Feb 28 21:34:08 2011] [error] PHP Warning: imagejpeg() [<a href=’function.imagejpeg’>function.imagejpeg</a>]: Unable to open ’/home/u47330/photo.teamb.ru/www/easy2gallery/room/19.jpg’ for writing: Permission denied in /home/u47330/photo.teamb.ru/www/assets/modules/easy2/includes/classes/e2g.module.class.php on line 845
              [Mon Feb 28 21:34:08 2011] [error] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/u47330/photo.teamb.ru/www/assets/modules/easy2/includes/classes/e2g.module.class.php on line 839
              [Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] IO limit exceeded (12)
              [Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] Resource limit exceeded, access to photo.teamb.ru is temporarily denied
              [Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] IO limit exceeded (12)
              [Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] Resource limit exceeded, access to photo.teamb.ru is temporarily denied

              1. How big is the picture? More than 2 MB?
              2. e2g.module.class.php:
              <?php // highlighting
              839.        imagecopyresampled($pic, $im, 0, 0, 0, 0, $w, $h, $inf[0], $inf[1]);
              840.
              841.        // SAVE
              842.        if ($inf[2] == 1)
              843.            imagegif($pic, $filename);
              844.        elseif ($inf[2] == 2)
              845.            imagejpeg($pic, $filename, $thq);
              846.        elseif ($inf[2] == 3)
              847.            imagepng($pic, $filename);
              848.        $this->_changeModOwnGrp('file', $filename);
              

              They are only the image resizing.
              Uhm... Have you save the config?

              Btw, try the 1.4.0-PL on the above link.
              There are many improvements and bugfixes.
                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.
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                Quote from: Elena at Mar 10, 2011, 08:22 AM

                And can Easy2Gallery use youtube video?
                Can I create gallery, where instead of pictures contains html code (youtube video)?
                No.
                And what for?
                You can use TV or chunk for that, right?
                  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.
                  • 8677
                  • 50 Posts
                  Quote from: goldsky at Mar 10, 2011, 09:14 AM

                  1. How big is the picture? More than 2 MB?

                  No, less 1Mb.


                  2. e2g.module.class.php:
                  <?php // highlighting
                  839.        imagecopyresampled($pic, $im, 0, 0, 0, 0, $w, $h, $inf[0], $inf[1]);
                  840.
                  841.        // SAVE
                  842.        if ($inf[2] == 1)
                  843.            imagegif($pic, $filename);
                  844.        elseif ($inf[2] == 2)
                  845.            imagejpeg($pic, $filename, $thq);
                  846.        elseif ($inf[2] == 3)
                  847.            imagepng($pic, $filename);
                  848.        $this->_changeModOwnGrp('file', $filename);
                  

                  They are only the image resizing.
                  Uhm... Have you save the config?

                  What do you mean? File? Menu config? What in menu?

                  Maybe it is reason :
                  "Настройки изображений" -> "Пережать имеющиеся" : "да".
                  And script resizing all images every time?


                  Btw, try the 1.4.0-PL on the above link.
                  There are many improvements and bugfixes.

                  Thank you!
                  Photo and structure of gallery do not disappear after reinstall?
                    • 8677
                    • 50 Posts
                    Quote from: goldsky at Mar 10, 2011, 09:15 AM

                    Quote from: Elena at Mar 10, 2011, 08:22 AM

                    And can Easy2Gallery use youtube video?
                    Can I create gallery, where instead of pictures contains html code (youtube video)?
                    No.
                    And what for?
                    You can use TV or chunk for that, right?

                    Right. =)
                    I just want to understand - what libraries (jquerry fancybox? motools? other?) I have use in TV or chunk (for opening windows with video like "lightbox", like in easy2gallery) - so that they (libs) do not conflict with the libraries Easy2Gallery.
                      • 11055 ☆ A M B ☆
                      • 3,112 Posts
                      Quote from: Roner at Mar 10, 2011, 05:31 AM

                      установил Easy 2 Gallery 1,4,0
                      modx 1.0.4
                      все работает прекрасно в Firefox
                      в других браузерах не отображается галерея
                      what browsers?

                      Quote from: belkaU at Mar 10, 2011, 06:14 AM

                      Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/belkau/data/www/"мойсайт".ru/assets/modules/easy2/install/index.php on line 1253
                      Ask your host to allow htmlspecialchars_decode() function.

                      Quote from: Elena at Mar 10, 2011, 11:39 AM

                      What do you mean? File? Menu config? What in menu?
                      Menu > Config > save

                      Quote from: Elena at Mar 10, 2011, 11:39 AM

                      Maybe it is reason :
                      "Настройки изображений" -> "Пережать имеющиеся" : "да".
                      And script resizing all images every time?
                      Nope. Only if they are synchronized.
                      You also have an option whether want to sync the old images or not.
                      So, you may have different size images, which are synchronized with different module’s width and height.

                      Quote from: Elena at Mar 10, 2011, 11:39 AM

                      Thank you!
                      Photo and structure of gallery do not disappear after reinstall?
                      Have you ever lost your images upon updating easy 2 gallery before? tongue
                        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.