We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10905
    • 10 Posts
    I am getting this error now since upgrading to 2.0.5 when attempting to use the gallery tv.

    phpTumb() v1.7.9-200712090829
    Off-server thumbnailing is not allowed

    I also notice this post .

    Is there a post you can point me too to fix this or let me know what I am doing wrong.

    Thank you smiley
      • 16581
      • 1 Posts
      Me too sad
        • 5678
        • 2 Posts
        Hi.
        Same thing here.
        I found this post: http://phpthumb.sourceforge.net/demo/docs/phpthumb.faq.txt
        saying:


        Q: "Off-server thumbnailing is not allowed" -- how do I enable it?
        A: By default, phpThumb() only makes thumbnails for the same
        domain that it is running on. To allow it to make thumbnails
        for a limited number of other domains, add them
        (in phpThumb.config.php) like this:
        $PHPTHUMB_CONFIG[’nohotlink_valid_domains’] = array(
        @$_SERVER[’HTTP_HOST’], ’example.com’, ’www.example.com’,
        ’subdomain.example.net’, ’example.org’);
        To disable off-server thumbnail blocking, just set:
        $PHPTHUMB_CONFIG[’nohotlink_enabled’] = false;

        Tried to change the settings via the manager according to the recommendation, but no luck.
        I’m currently running MODx Revo on a localhost (Mamp).

          • 5678
          • 2 Posts
          OK, solved it, at least for my local installation.
          System settings, under phpthumb > phpthumb_nohotlink_valid_domains, substituting {http_host} by {localhost} and changing phpthumb_nohotlink_enabled to ›No‹ did the trick for me.

          Cheers.
          Kersten
            • 41642
            • 10 Posts
            Thank's a lot, commanderk, working perfectly !
              • 3186 ☆ A M B ☆
              • 279 Posts
              Got this one today too for the first time.. Thanks commanderk! It works like a charm!
                MODX Ambassador (NL) & Professional MODX developer
                Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
                MODX e-commerce solution SimpleCart