We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5552
    • 4 Posts
    Hi, I seem to be having an issue with Gallery which works in Revo RC2 but not with Revo RC3 where the thumbnails in the manager Update Album view shows an error image, (resized from w=400xh=100), which appears to have the following error message:
    phpThumb() v1.7.9-200805132119 Forbidden parameter: amp;w


    I can see the incorrect data in Firebug in the connector.php POST response but I am finding it difficult to debug/locate the source of the error -

    thumbnail":"http:\/\/localhost\/modx-2.0.0-rc3\/assets\/components\/phpthumb\/phpThumb.php?h=100&w=100&zc=C&src=http%3A%2F%2Flocalhost%2Fmodx-2.0.0-rc3%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F2010%2F07%2Fcar.jpg


    Anybody else seeing this?

    Cheers
    Chris
      • 22303 MODX Staff
      • 10,725 Posts
        • 13162
        • 6 Posts
        cnother
        I have had the same problem. I’ve found any solution:

        in file:
        \core\components\gallery\model\gallery\galitem.class.php
        line 33
        $url = $value.'?'.http_build_query($format);
        

        replace with:
        $url = $value.'?'.http_build_query($format, '', '&');
        
          • 28215
          • 4,149 Posts
          This has been fixed as of Gallery 1.0.0-rc3, available for Revo 2.0.0-pl.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 13162
            • 6 Posts
            Quote from: splittingred at Jul 27, 2010, 08:47 AM

            This has been fixed as of Gallery 1.0.0-rc3, available for Revo 2.0.0-pl.

            Thank you for the information smiley