We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15114
    • 102 Posts
    Hi

    I have installed Gallery. I managed to create albums and upload pictures but they are not displayed on ma pages (I have used this example : http://rtfm.modx.com/display/ADDON/Gallery.Example1 )

    In the system parameters I foud that the key gallery.phpthumb_url has the value /assets/components/phpthumb/. But I didn’t found this directory, so I supose that phpthumb is not installed or that the value is not correct. What is the right value or where can I download it ?


    My configuration :
    OS : Linux (CentOS)
    Server : Apache 2
    PHP : 5.2.x
    MySQL : 5.0.x
    MODX : revolution

    Julien
      • 28215
      • 4,149 Posts
      Sounds like Gallery didn’t install correctly. Make sure core/components/ and assets/components/ are writable, then try again reinstalling Gallery.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 15114
        • 102 Posts
        I tried to re-install but all seems to be OK. core/components/ and assets/components/ were already writable, I have installed others components before Gallery.

        I tried to debug on a local server and I found that Gallery tries to load the file /core/components/gallery/processors//web/phpthumb.php. I have checked and it exists.
        Is there a way to check if an error happens during thumb generation ?

        • It looks like something is missing in that path, or else something is adding an extra /
          ...processors//web...
            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
            • 28215
            • 4,149 Posts
            In core/cache/logs/error.log, although there definitely needs to be some more debugging info passed in case of a failure. Ignore the double /.
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 15114
              • 102 Posts
              I checked, the error.log is empty :-(
                • 28215
                • 4,149 Posts
                Did you add a Gallery Album? You have to do that to see albums.


                FYI, the latest version of Gallery doesn’t use assets/components/phpthumb anymore, but uses the core Revo phpthumb instance.
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • 15114
                  • 102 Posts
                  Yes

                  I have two albums (called Test and Test 2). And in the first I have uploaded one picture. I checked that the file is really on the server.

                  My test page : http://new.elendil.cc/galerie.html
                    • 15114
                    • 102 Posts
                    Hi,
                    I’ve done new tests. I have installed a server (Zend CE) on my computer and I have downloaded my MODX installation from my web server. I didn’t change anything except the paths. And it’s work perfectly. So maybe something is missing on my server ?
                      • 17723
                      • 221 Posts
                      Hi JuTs !

                      Did You found out what was missing on Your server?

                      I’m experiencing the same problem. The thumbnails don’t display back end and front end.
                      Also my thumbnails don’t display when I want to view them in Resource Browser ...

                      I’m running:
                      MODx Revolution 2.0.0-pl rev7212
                      PHP Version 5.2.9
                      MySql 5.0.91

                      Luke,
                        Lucas from AroundCyprus.net