• Hi, Have installed your plugin, but it hasn’t created a cache directory. htaccess has been edited though, so some of it works.

    How do I make it work?

    Site hosted on WP Engine so using their CDN, don’t know if that makes a diff?

    ? PHP GD library is installed.
    
    ? Image cache directory has not been created.
    
        But this is probably because the cache has not been accessed yet.
        After accessing your website from a mobile device the directory should be automatically created.
    
        /nas/content/live/impactinterior/wp-content/cache => drwxrwxr-x
    
    ? Installation .htaccess file is setup OK.
    
        /nas/content/live/impactinterior/.htaccess => -rw-rw-r--
    
    ? Adaptive images settings dump:
    
        array(14) {
          ["resolutions"]=>
          array(3) {
            [0]=>
            int(1024)
            [1]=>
            int(640)
            [2]=>
            int(480)
          }
          ["cdn-support"]=>
          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(70)
          ["sharpen-images"]=>
          bool(true)
          ["watch-cache"]=>
          bool(true)
          ["browser-cache"]=>
          float(180)
          ["landscape"]=>
          bool(false)
          ["hidpi"]=>
          bool(false)
          ["version"]=>
          string(6) "0.6.66"
          ["sanitized"]=>
          bool(true)
          ["wp-content-dir"]=>
          string(43) "/nas/content/live/impactinterior/wp-content"
          ["wp-content-url"]=>
          string(45) "https://www.impact-interiors.co.uk/wp-content"
        }

    The page I need help with: [log in to see the link]

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

    (@nevma)

    Hello, my friend,

    Usually CDNs are a special case that the Adaptive Images plugin cannot handle because it is the CDN that handles all requests before WordPress!

    We do have an experimental mode called “CDN support” in the plugin settings, but it is a mode that does not work a 100%. It doesn’t break anything, however it does allow for some images to be delivered non-resized (CSS background images, a few IMG elements here and there).

    So, I am afraid your options are:

    1. Use the CDN without the Adaptive Images plugin
    2. Use the CDN with the Adaptive Images plugin in “CDN support” mode, as explained above
    3. Use the Adaptive Images plugin but without the CDN

    However, it seems that WPEngine’s CDN is serving your images from a different subdomain, so I am afraid there is really no way to combine this with the Adaptive Images. You have to choose between the CDN and the plugin. Whichever you feel is more effective for your website.

    Sorry about that, I wish there were some other way. ??

    Let me know if I can help any further!

    Cheers,
    Takis

Viewing 1 replies (of 1 total)
  • The topic ‘Image Cache Directory’ is closed to new replies.