• Hi,
    The plugin installed correctly, however when I upload images (and access the site through a phone) there are no images appearing in the cache folder (which was created successfully).

    I only have the Header image on the site that I need this to work for!
    Any help is much appreciated !

    Debug info shown below:

    PHP GD library is installed.
    Image cache directory has been created.
    /var/sites/i/inmindclinics.co.uk/public_html/wp-content/cache/adaptive-images => drwxr-xr-x
    Installation .htaccess file is setup OK.
    /var/sites/i/inmindclinics.co.uk/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)
    [“hidpi”]=>
    bool(true)
    [“cache-directory”]=>
    string(21) “cache/adaptive-images”
    [“watched-directories”]=>
    array(7) {
    [0]=>
    string(30) “public_html/wp-content/uploads”
    [1]=>
    string(38) “public_html/wp-content/uploads/2018/12”
    [2]=>
    string(18) “wp-content/uploads”
    [3]=>
    string(26) “wp-content/uploads/2018/12”
    [4]=>
    string(17) “wp-content/themes”
    [5]=>
    string(7) “uploads”
    [6]=>
    string(15) “uploads/2018/12”
    }
    [“jpeg-quality”]=>
    int(75)
    [“sharpen-images”]=>
    bool(true)
    [“watch-cache”]=>
    bool(true)
    [“browser-cache”]=>
    float(180)
    [“cdn-support”]=>
    bool(false)
    [“version”]=>
    string(6) “0.6.64”
    [“sanitized”]=>
    bool(true)
    [“wp-content-dir”]=>
    string(55) “/var/sites/i/inmindclinics.co.uk/public_html/wp-content”
    [“wp-content-url”]=>
    string(37) “https://inmindclinics.co.uk/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,

    I took a look at your website and it seems that your images are being resized as expected by the Adaptive Images plugin. Check out these screenshots: https://prntscr.com/lta28b/, https://prntscr.com/lta2zb/.

    Perhaps the reason for the image not appearing in your cache when you access your website via an iPhone is the plugin “HiDPI support” and “Bigger dimension” settings. These settings direct the plugin to send double (or even triple) sized images to HiDPI screens according to their device pixel ratio and to take into account the portrait orientation of the device respectively. So in this case, if a device is 360×800 pixels big and has a screen with a device pixel ratio 2, then the Adaptive Images plugin will decide to send it an image size as close as possible to 800×2=1600 pixel. This could even be close to the actual image size, so no resizing will be done and the original image will be served in that case.

    You need to tamper with the plugin settings to decide what works best for you. It sounds a little complicated at first, but the idea is that the plugin will combine its settings, the requesting device characteristics and the requested image dimensions, in order to decide what to serve and it will always try to use the minimal possible effort.

    Hope this makes sense! Let me know if I can help any further.

    Cheers,
    Takis

    Thread Starter pwoodley16

    (@pwoodley16)

    Thank you very much for the reply – agreed I can now see the image appear in the cache folder…However, the image still does not seem to be resizing (please see screen shot) – I have opened the page on 2 mobile devices with the same outcome.

    Any help would be much appreciated !

    https://inmindclinics.co.uk/wp-content/uploads/2018/12/Untitled2.bmp

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, again,

    How do you know that this image is actually resized or not, though? The Adaptive Images plugin resizes images but keeps their aspect ratio, so it shouldn’t be easy to tell the dimensions of the image just by looking at it. To be precise you need to do some debugging like I did in my previous screenshots.

    Also make sure you clear your device’s cache because that could also be an issue, if you have accessed your website recently.

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No images in Cache folder’ is closed to new replies.