• Resolved davekriebel

    (@davekriebel)


    Thanks for the great plugin!

    I am having issue with my image cache. I have added the directory manually, but when (I assume) your plugin tries to write to it the directory disappears. Do you have any idea why that would be happening?

    I am using CDN and the site is hosted on WP Engine.

    Thank you for your time.

    My debug info:

    ? 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/cfefec/wp-content/cache => drwxrwxr-x
    ? Installation .htaccess file is setup OK.
    /nas/content/live/cfefec/.htaccess => -rw-rw-r–
    ? Adaptive images settings dump:
    array(14) {
    [“resolutions”]=>
    array(4) {
    [0]=>
    int(1200)
    [1]=>
    int(992)
    [2]=>
    int(768)
    [3]=>
    int(360)
    }
    [“landscape”]=>
    bool(true)
    [“hidpi”]=>
    bool(true)
    [“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(75)
    [“watch-cache”]=>
    bool(true)
    [“browser-cache”]=>
    float(180)
    [“sharpen-images”]=>
    bool(false)
    [“version”]=>
    string(6) “0.6.62”
    [“sanitized”]=>
    bool(true)
    [“wp-content-dir”]=>
    string(35) “/nas/content/live/cfefec/wp-content”
    [“wp-content-url”]=>
    string(32) “https://fecpublic.org/wp-content”
    }

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

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

    (@nevma)

    Hello, my friend,

    Thank you for reaching out and for the comprehensive info.

    Can you tell me how your CDN works exactly? I see that your images are served via the same domain as your website, however the requests for images do not pass at all via our plugin. For instance this url https://fecpublic.org/wp-content/uploads/2017/08/Webinar.jpg?debug=true, with the “?debug=true” at the end of it, should be producing some debugging information about the image.

    So, it seems that your CDN is totally bypassing image requests.

    (One additional note: even when it works along a CDN our plugin still functions in an experimental mode – it cannot actually resize all images and it cannot detect images in CSS backgrounds.)

    Cheers,
    Takis

    Thread Starter davekriebel

    (@davekriebel)

    Unfortunately, I have no clue how the CDN works:) Its one of WP Engine’s services.

    As this is an experimental feature I won’t waste your time and forgo your plugin this time.

    Thanks again for all your hard work with this tool.

    Plugin Author Takis Bouyouris

    (@nevma)

    No waste of time at all. I love getting feedback from actual users and eliminating edge cases. Feel free to contact me again any time in the future, if you have updates on the issue.

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disappearing Cache Directory’ is closed to new replies.