• According to the debug info, everything is fine but actually the plugin doesn’t seem to do anything. The Cache stays empty. I tried to reupload the images, called the site from multiple devices…

    Does the plugin crawl through subfolders of “wp-content/uploads”? Thought it might need some time to process the images but 1 day later still no change.

    Any advise?

    ? PHP GD library is installed.
    ? Image cache directory has been created.
    /srv/www/web/releases/20150917142045/public/wp-content/cache/adaptive-images => drwxr-xr-x
    ? Installation .htaccess file is setup OK.
    /srv/www/web/releases/20150917142045/public/.htaccess => -rw-r--r--
    ? Adaptive images settings dump:
    array(12) {
      ["resolutions"]=>
      array(4) {
        [0]=>
        int(1024)
        [1]=>
        int(640)
        [2]=>
        int(480)
        [3]=>
        int(320)
      }
      ["landscape"]=>
      bool(true)
      ["cache-directory"]=>
      string(21) "cache/adaptive-images"
      ["watched-directories"]=>
      array(2) {
        [0]=>
        string(18) "wp-content/uploads"
        [1]=>
        string(17) "wp-content/themes"
      }
      ["jpeg-quality"]=>
      int(75)
      ["sharpen-images"]=>
      bool(true)
      ["watch-cache"]=>
      bool(true)
      ["browser-cache"]=>
      float(90)
      ["hidpi"]=>
      bool(false)
      ["cdn-support"]=>
      bool(false)
      ["version"]=>
      string(5) "0.6.3"
      ["sanitized"]=>
      bool(true)
    }

    https://www.ads-software.com/plugins/adaptive-images/

Viewing 5 replies - 16 through 20 (of 20 total)
  • Okay, sorry to hear that. Too bad, another plugin that I’d love to use that has issues with NGinx. If only Apache was as good as Nginx IMO I’d certainly use it. I’m having issues with W3-Total-Cache as well. I’ll hop in the other topic and try to copy the settings, but I don’t even expect it to work =\

    Plugin Author Takis Bouyouris

    (@nevma)

    Well, the only issue with this plugin and Nginx is that we need a way to route images to the plugin scripts. And in Apache this is easily done with the htaccess configuration file which we can update automatically. It is also possible to be done in Nginx as well, but it requires manual configuration.

    I can forward you another forum thread where this issue has been discussed and solved. And by “solved” I mean with a manual configuration in Nginx.

    Which forum thread? I’d love to see it.

    Plugin Author Takis Bouyouris

    (@nevma)

    Well, I am sorry I cannot find a proper search function in the forum and dig up that thread, but it goes something like this:

    location / {
    rewrite \.(?:jpe?g|gif|png)$ /path/to/adaptive-images-script.php;
    }

    Plugin Author Takis Bouyouris

    (@nevma)

    Aaah, found it: https://www.ads-software.com/support/topic/rules-for-nginx?replies=15. I would suggest you read it till the end because the first solution was not a safe one.

    Remember, all the fuss is done so that the images will be funnelled to the adaptive images script and be served by it! Other than that the PHP code works nicely with Nginx as well as Apache!

    (I would really like to know how this worked out for you and perhaps have a more stable solution for Nginx, too.)

    Cheers,
    Takis

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Cache stays empty…’ is closed to new replies.