• After install and save the settings, I’ve printed the debug info:

    ✔ PHP GD library is installed.
    ✔ Image cache directory has been created.
    /home/user/public_html/wp-content/cache/adaptive-images => drwxr-xr-x
    ✔ Installation .htaccess file is setup OK.
    /home/user/public_html/.htaccess => -rw-r–r–

    ❖ Adaptive images settings dump:

    array(14) {
      ["resolutions"]=>
      array(3) {
        [0]=>
        int(1024)
        [1]=>
        int(640)
        [2]=>
        int(480)
      }
      ["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(90)
      ["sharpen-images"]=>
      bool(true)
      ["watch-cache"]=>
      bool(true)
      ["browser-cache"]=>
      float(365)
      ["hidpi"]=>
      bool(false)
      ["cdn-support"]=>
      bool(false)
      ["version"]=>
      string(6) "0.6.62"
      ["sanitized"]=>
      bool(true)
      ["wp-content-dir"]=>
      string(37) "/home/user/public_html/wp-content"
      ["wp-content-url"]=>
      string(35) "https://www.equipados.cl/wp-content"
    }

    And in my .htaccess:

    # BEGIN Adaptive Images
    #=======================
    
    <IfModule mod_rewrite.c>
    
        RewriteEngine On
    
        # Watched directories
        RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
        RewriteCond %{REQUEST_URI} /wp-content/themes
    
        # Redirect images through the adaptive images script
        RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]
    
    </IfModule>
    
    # END Adaptive Images

    I’ve tried using ?debug=true but return the image, where can I continue looking to solve this problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    Thank you for sharing the comprehensive info above with us.

    If the ?debug=true is not working but all the rest of the debug information is coming up correct, then something really elementary must be going on. Possible culprits for these might be:

    1. Are you using a CDN or some other caching mechanism that is delivering your images instead of your WordPress installation?
    2. Are you sure you are using Apache and not NginX as your application server?

    Cheers,
    Takis

    Thread Starter gepd

    (@gepd)

    Thanks for your answer,

    I’m using apache and no CDN. What I have actived is cloudflare, and other plugins like W3C, I purged the cache from cloudflare but it does not seem to make any change

    Plugin Author Takis Bouyouris

    (@nevma)

    Oh, but CloudFlare is a CDN provider, right?

    If you are indeed using it, then you should know that the CDN is the one delivering your images and not your WordPress installation. So, this way, it is impossible for our plugin to intervene and resize your images.

    Now, we do have a special “CDN support” option, which you can enable in the Adaptive Images plugin settings page, but its function is still experimental. This doesn’t mean that it breaks anything. It just doesn’t get the chance to resize all the images on a web page request and some are delivered non-resized. You might want to give it a try.

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin not working’ is closed to new replies.