We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20862
    • 33 Posts
    картинки загрузились, зато еще интересней стало - вот какая ошибка выскакивает на странице

    Fatal error: Call to undefined function imagecreatefromjpeg() in F:\site\mysite\manager\includes\document.parser.class.inc.php(770) : eval()’d code on line 78

    что опять не так, а? undecided
      • 6848
      • 52 Posts
      Quote from: goldsky at Mar 04, 2010, 06:10 AM

      Quote from: ddim at Mar 04, 2010, 03:49 AM

      I tried with PHPThumb and my subjective impression is that the results are the same.
      Are we talking about the same phpthumb?

      actually not.
      I was talking about
      http://phpthumb.sourceforge.net/
      I’m using this one in many parts of sites to resize, crop and so on.
      It has good caching features and I tried it to create the thumbs instead of the build in functions of the gallery.
      The speed I had was practically the same. This is because in both cases the speed matters only before you have all the thumbs.

      I had fast look to the code of this one you refer to.
      I thing it uses the same build-in php GD libraries which are used in your code. I don’t know if it will give speed improvements.
        • 6848
        • 52 Posts
        Quote from: Nadin at Mar 04, 2010, 07:00 AM

        картинки загрузились, зато еще интересней стало - вот какая ошибка выскакивает на странице

        Fatal error: Call to undefined function imagecreatefromjpeg() in F:\site\mysite\manager\includes\document.parser.class.inc.php(770) : eval()’d code on line 78

        что опять не так, а? undecided

        You should check if there is php GD module installed and loaded.
          • 788
          • 15 Posts
          версия 1.35, modx 1.0.2.
          права на папку _thumbnails выставил вручную 777, при синхронизации они опять сбрасываются в 755.
          в папки галерей картинки загружаются нормально, в админке я их вижу, папка _thumbnails все время пустая.
          вывод на странице http://example/contacts/gal делаю так: [!easy2?gid=2!]
          при этом пути к эскизам и картинкам определяются неверно:
          http://example/contacts/assets/gallery/_thumbnails/2/2_140x140.jpg - эскиз
          http://example/contacts/assets/modules/easy2/show.easy2gallery.php?id=1 - картинка

          какие дополнительные настройки нужно сделать?
            • 26293
            • 1 Posts
            Прекрасный модуль!
            Для людей с моим уровнем знаний просто находка.
            Есть вопрос по превьюшкам. Кадрирование под заданное поле превью очень напрягает. То голова обрежется, то другой важный элемент кадра. Нельзя ли вписывать кадр в отведенное место без кадрирования? Пусть остаются поля пустые по бокам или сверху-снизу.
            Или такая возможность предусмотрена, но я её просто не вижу?
              • 12992
              • 21 Posts
              Нет ли возможности сделать упорядоченную сортировку категорий и изображений?
                • 9648 ☆ A M B ☆
                • 91 Posts
                Quote from: AKots at Jan 25, 2010, 12:26 PM

                Quote from: Bredova at Jan 25, 2010, 12:24 PM

                А какая может быть проблема с хостингом?
                Не знаю, но изображения грузятся очень долго.

                Лично я решил проблему отключением водяных знаков. Пока еще не разбирался детально что именно мешает, но мешает - факт.
                  MODX Revolution expert
                  Follow ME on Twitter | Feel free ask any question on MODX-club
                  • 9302
                  • 4 Posts
                  после установки данного модуля на главной странице модуля выводит
                  Warning: Invalid argument supplied for foreach() in /home/psp4ga/art-job/manager/processors/execute_module.processor.php(114) : eval()'d code on line 1435

                  причём 10 раз и один раз
                  Warning: Invalid argument supplied for foreach() in /home/psp4ga/art-job/manager/processors/execute_module.processor.php(114) : eval()'d code on line 798


                  подскажите пожалуйста как от этого избавиться?
                  MODx только начал осваивать, в программировании не силён, помогите пожалуйста.
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                      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.
                      • 30218
                      • 3 Posts
                      Народ, подскажите как в easy2 галереи вывести фотографии без создания папок, т.е. при структуре parent->child1->child2 если задать [!easy2?gid=`id[parent]`!] чтобы вывелись только фотографии и не было папок?