We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36722
    • 101 Posts
    Waiting for a solution here too. Good news is, the old thumbs are working fine.
      Shawn Himmelberger
      Himmelberger Design
      https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Design | https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Development
    • Probably not considered a valid solution if you must use thumbsup, but to get thumbnails generating again on a 2.2.11 site, I simply switched to pThumb addon without issues.


      1. Uninstall phpThumbsUp and phpThumbOf before installing pThumb
      2. Install pThumb add on
      3. Be sure to update any phpthumbsup calls to phpthumbof (Only required for phpthumbsup users)

      On the plus side, pThumb is considerably faster than the previous phpthumbof: https://github.com/oo12/phpThumbOf/wiki/Thumb-War [ed. note: pixelchutes last edited this post 10 years, 2 months ago.]
        Mike Reid - www.pixelchutes.com
        MODx Ambassador / Contributor
        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
        ________________________________
        Where every pixel matters.
      • I fixed it for now by reverting the phpthumb.class.php file in:
        core > model > phpthumb

        With the attached version... Hope it will be fixed in the next update, but for now all is fine with this file.
        (Many thanks to Bert Oost for the help)
          MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
          DESIGNfromWITHIN, MPThemes and Any Screen Size
          Follow me on Twitter | Read my blog | My code on GitHub
          • 36722
          • 101 Posts
          This fix works well. But I'd imagine we lose the bug fix on the phpthumb library.
            Shawn Himmelberger
            Himmelberger Design
            https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Design | https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Development
          • The reason the phpthumb.class.php was replaced/upgraded was due to the significant security vulnerability that allowed XSS. It's unfortunate the newer class file is causing these issues. I'd hope we can track down the actual issue so this can be resolved safely.
              Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
              • 41144
              • 15 Posts
              Hi,

              In core/components/phpthumbsup/model/phpthumbsup/phpthumbsup.class.php around line 360 comment out the if like below (so it works for all contexts)
              I have not tested if it works in 100% scenarios, but working for me.

              //if ($this->modx->context->key == 'mgr') {
              $options['src'] = '/' . $options['src'];
              //}
              


              clean modx cache, browsers cache.
              It happens because modPhpthumb treats image path as relative to it's own model path if it's not prepended with /:
              /home/remek/www/site/core/model/phpthumb/site/assets/pics/C31645455_1.jpg
                • 42802
                • 96 Posts
                Sebastian Zahn | ingroove.uy Reply #17, 10 years, 3 months ago
                Same problem here, all thumbs working fine until i update to modx 2.2.11

                Any fix? Thanks!
                  • 38547
                  • 98 Posts
                  The fix is as mentioned above by pixelchutes uninstall phpthumbOf and install the forked replacement pThumb in the package manager, I founds it works quicker than phpthumbOf and need to need change any template or chunk calls it used exactly the same syntax.

                  Cheers
                    • 32678
                    • 290 Posts
                    Quote from: ianman at Feb 08, 2014, 10:31 PM
                    The fix is as mentioned above by pixelchutes uninstall phpthumbOf and install the forked replacement pThumb in the package manager, I founds it works quicker than phpthumbOf and need to need change any template or chunk calls it used exactly the same syntax.

                    Cheers

                    I use features of phpthumbsup that pthumb doesn't have.

                    Has an valid fix to the issue been discovered?
                      • 32678
                      • 290 Posts
                      Quote from: ianman at Feb 08, 2014, 10:31 PM
                      The fix is as mentioned above by pixelchutes uninstall phpthumbOf and install the forked replacement pThumb in the package manager, I founds it works quicker than phpthumbOf and need to need change any template or chunk calls it used exactly the same syntax.

                      Cheers

                      I use features of phpthumbsup that pthumb doesn't have.

                      Has an valid fix to the issue been discovered?