Title: Image Cache Directory
Last modified: July 3, 2019

---

# Image Cache Directory

 *  [deeho](https://wordpress.org/support/users/deeho/)
 * (@deeho)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/image-cache-directory/)
 * 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"
           }
       ```
   
    -  This topic was modified 6 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 6 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-cache-directory%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takis Bouyouris](https://wordpress.org/support/users/nevma/)
 * (@nevma)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/image-cache-directory/#post-11703854)
 * 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.

 * ![](https://ps.w.org/adaptive-images/assets/icon-256x256.png?rev=1138642)
 * [Adaptive Images for WordPress](https://wordpress.org/plugins/adaptive-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adaptive-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adaptive-images/)
 * [Active Topics](https://wordpress.org/support/plugin/adaptive-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adaptive-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adaptive-images/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takis Bouyouris](https://wordpress.org/support/users/nevma/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/image-cache-directory/#post-11703854)
 * Status: not resolved