Support » Plugin: Adaptive Images for WordPress » No images being created

  • Hi Takis,

    Thanks for creating the plugin, it seems to be exactly what I need however I am having issues getting it to work at present. I have turned off all caching and CDN in order to get this to work but no matter what I do, the images are not being created in cache/adaptive-images.

    Any ideas why this might be given all caching, cloudflare and CDN is currently off?

    Thanks again for your time,

    Ryan

    DEBUG
    array(12) {
    [“resolutions”]=>
    array(3) {
    [0]=>
    int(1024)
    [1]=>
    int(640)
    [2]=>
    int(480)
    }
    [“hidpi”]=>
    bool(true)
    [“cache-directory”]=>
    string(21) “cache/adaptive-images”
    [“watched-directories”]=>
    array(5) {
    [0]=>
    string(18) “wp-content/uploads”
    [1]=>
    string(17) “wp-content/themes”
    [2]=>
    string(12) “share/images”
    [3]=>
    string(10) “share/main”
    [4]=>
    string(11) “page_images”
    }
    [“jpeg-quality”]=>
    int(80)
    [“sharpen-images”]=>
    bool(true)
    [“watch-cache”]=>
    bool(true)
    [“browser-cache”]=>
    float(180)
    [“landscape”]=>
    bool(false)
    [“cdn-support”]=>
    bool(false)
    [“version”]=>
    string(6) “0.6.60”
    [“sanitized”]=>
    bool(true)
    }

    System Information

    Web Server
    Apache
    Document Root
    /home/globetu9/public_html/dev2
    PHP
    5.4.28
    PHP Time Limit
    600
    PHP Memory Limit
    256M
    PHP Post Max Size
    65M
    PHP Upload Max Size
    64M
    PHP Max Input Vars
    1000
    PHP Display Errors
    No
    PHP Error Log
    error_log
    MySQL
    5.5.50-cll
    MySQL Ext/mysqli
    No
    MySQL Table Prefix
    wp_gt_
    MySQL DB Charset
    utf8
    WP
    4.6
    WP Multisite
    No
    WP Debug Mode
    No
    WP Site url
    http://dev2.globe-trotter.com
    WP WP Home url
    http://dev2.globe-trotter.com
    WP Permalinks
    /%postname%/
    WP home path
    /home/globetu9/public_html/dev2/
    WP content dir
    /home/globetu9/public_html/dev2/wp-content
    WP plugin dir
    /home/globetu9/public_html/dev2/wp-content/plugins
    WP content url
    http://dev2.globe-trotter.com/wp-content
    WP plugin url
    http://dev2.globe-trotter.com/wp-content/plugins
    WP Locale
    en_GB
    WP Memory Limit
    40M
    WP Max Upload Size
    64mb
    WP Active plugins
    ManageWP – Worker v.4.2.9 by ManageWP
    Redux Framework v.3.6.1 by Team Redux
    404 to 301 v.2.3.0 by Joel James
    Actionable Google Analytics v.CC-V3-1.2 by Tatvic
    Adaptive Images for WordPress v.0.6.60 by Nevma
    WP Offload S3 Lite v.1.0.4 by Delicious Brains
    Amazon Web Services v.0.3.6 by Delicious Brains
    Contact Form 7 Skins v.1.2 by Neil Murray
    Contact Form 7 v.4.5 by Takayuki Miyoshi
    Imsanity v.2.3.6 by Jason Hinkle
    WooThumbs – Awesome Product Imagery v.4.4.14 by Iconic
    No Right Click Images Plugin v.2.5 by Keith P. Graham
    WooCommerce Product Filter v.5.8.2 by Mihajlovic Nenad
    Animated Infinite Scroll – WordPress Plugin v.1.1 by SB Themes
    Shortcoder v.3.4.1 by Aakash Chakravarthy
    Use Any Font v.4.5.1 by Dinesh Karki
    Video.js HTML5 Player v.1.0.9 by naa986
    WooCommerce v.2.6.4 by WooThemes
    WooCommerce BarclaycardCw v.4.0.32 by customweb GmbH
    Yoast SEO v.3.4.2 by Team Yoast
    WP All Import Pro v.4.3.1 by Soflyy
    WP Crontrol v.1.3.1 by John Blackbourn & Edward Dale
    WP Mobile Detect v.2.0 by Jesse Friedman
    WP Smush v.2.4.5 by WPMU DEV
    WP All Import – WooCommerce Add-On Pro v.2.3.0 by Soflyy
    wpMandrill v.1.33 by Mandrill
    WP MU plugins
    ManageWP – Worker Loader v. by ManageWP

    https://wordpress.org/plugins/adaptive-images/

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

    (@nevma)

    Hello, Ryan,

    Are you sure that all caching and CDN is turned off? It seems that your images are being served by Amazon. For instance: http://s3-eu-west-1.amazonaws.com/globetrotter1897/wp-content/uploads/2016/08/24141649/QEST2.jpg.

    It seems that you are using some plugin (WP Offload S3 Lite) to off load your images to Amazon. If your images are not originally served by your WordPress installation itself, then our plugin is actually bypassed and cannot do much! Your images will either have to be served directly from your WordPress installation or via a caching server or CDN, which in turn will draw the images from the WordPress installation.

    Hope this makes sense to you. Let me know if you need anything else!

    Cheers,
    Takis

    Thread Starter Equisitor

    (@equisitor)

    Thanks for coming back to me…

    I have switched off everything else that may be generating the CDN URL’s and can confirm that everything is loading direct from our servers via wordpress.

    Our index.php page is calling images directly from their URL’s at present as we are not using wordpress as such to build the home page. Is this what is causing the issue?

    Thanks again for your time, would love to get this working.

    Ryan

    Plugin Author Takis Bouyouris

    (@nevma)

    I am so sorry, Ryan, but I did not understand how your setup works exactly. At first, I thought that you had a problem with the htaccess file. Was that not the problem?

    Same problem here I think…

    Nothing in cache/adaptive-images – I guess that means it’s not working?

    .htaccess looks good, this was added:

    <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>

    It’s on a fast server with no caching of any type.

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello @fitwarrior,

    If the cache folder is empty then a) it could mean that the plugin is not working, however, in most cases the plugin can detect what the problem is, or b) probably no images have been accessed from a device with a small screen.

    The second case above means that the plugin populates the cache only when images are actually requested from smaller devices and need to be resized and saved. Could this be your case? I could take a look at you website if you could give me the url.

    Cheers,
    Takis

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No images being created’ is closed to new replies.