Client width / Resolution not changing on mobile
-
Plugin appears to be working on some images, but not on background images.
See: http://2bd.c98.myftpupload.com/wp-content/uploads/2014/05/Home_Hero1_Lrg.jpg?debug=truehomepage: http://2bd.c98.myftpupload.com/
code:
<div class="bg-img home-1-img" style="background-image: url('http://2bd.c98.myftpupload.com/wp-content/uploads/2014/05/Home_Hero1_Lrg.jpg')"> <div class="bottom-left txt"> <h1>Go where the dirt is.</h1> <a href="/capabilities" class="btn">See our capabilities</a> </div> </div>
-
Well, it seems that the plugin is working alright, but it is actually not resizing any images at all! It is serving the original size for all images.
Could you send me the output of the “Print debug” and “Print diagnostics” buttons in the plugin settings, please?
Hi the plugin is working, but not resizing any of the images. Below is debug and print diagnostics..
PHP GD library is installed.
✔ Image cache directory has been created.
/home/content/p3pnexwpnas06_data01/44/2848844/html/wp-content/cache/adaptive-images => drwx—r-x
✔ Installation .htaccess file is setup OK.
/home/content/p3pnexwpnas06_data01/44/2848844/html/.htaccess => -rw—-r–
❖ Adaptive images settings dump:
array(12) {
[“resolutions”]=>
array(3) {
[0]=>
int(1024)
[1]=>
int(640)
[2]=>
int(480)
}
[“landscape”]=>
bool(true)
[“cache-directory”]=>
string(21) “cache/adaptive-images”
[“watched-directories”]=>
array(3) {
[0]=>
string(18) “wp-content/uploads”
[1]=>
string(17) “wp-content/themes”
[2]=>
string(99) “http/fcdcedmyftpuploadcom/wp-content/uploads/2015/11/Making-Angels-Stacey-Urrutia-Family-on-Dockjpg”
}
[“jpeg-quality”]=>
int(70)
[“watch-cache”]=>
bool(true)
[“browser-cache”]=>
float(180)
[“hidpi”]=>
bool(false)
[“cdn-support”]=>
bool(false)
[“sharpen-images”]=>
bool(false)
[“version”]=>
string(6) “0.6.41”
[“sanitized”]=>
bool(true)
}Web Server
Apache
Document Root
/var/chroot/home/content/p3pnexwpnas06_data01/44/2848844/html
PHP
5.4.42
PHP Time Limit
30
PHP Memory Limit
256M
PHP Post Max Size
65M
PHP Upload Max Size
64M
PHP Max Input Vars
1000
PHP Display Errors
Yes
PHP Error Log
MySQL
5.5.43-37.2-log
MySQL Ext/mysqli
No
MySQL Table Prefix
wp_cv91r1f46q_
MySQL DB Charset
utf8
WP
4.3.1
WP Multisite
No
WP Debug Mode
No
WP Site url
http://fcd.ced.myftpupload.com
WP WP Home url
http://fcd.ced.myftpupload.com
WP Permalinks
/%postname%/
WP home path
/home/content/p3pnexwpnas06_data01/44/2848844/html/
WP content dir
/home/content/p3pnexwpnas06_data01/44/2848844/html/wp-content
WP plugin dir
/home/content/p3pnexwpnas06_data01/44/2848844/html/wp-content/plugins
WP content url
http://fcd.ced.myftpupload.com/wp-content
WP plugin url
http://fcd.ced.myftpupload.com/wp-content/plugins
WP Locale
en_US
WP Memory Limit
40M
WP Max Upload Size
64mb
WP Active plugins
Gravity Forms v.1.9.14.19 by rocketgenius
Adaptive Images for WordPress v.0.6.41 by Nevma
Contact Form 7 Datepicker v.2.5.1 by Aurel Canciu
Contact Form 7 v.4.3 by Takayuki Miyoshi
Custom Permalinks v.0.7.21 by Michael Tyson
Duplicate Post v.2.6 by Enrico Battocchi
Envato WordPress Toolkit v.1.7.3 by Envato
EWWW Image Optimizer v.2.5.3 by Shane Bishop
WPBakery Visual Composer v.4.8.0.1 by Michael M – WPBakery.com
Regenerate Thumbnails v.2.2.4 by Viper007Bond
Revolution Slider v.5.0.9 by ThemePunch
Optimize Database after Deleting Revisions v.3.5.1 by CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
WooCommerce v.2.4.10 by WooThemes
WooSidebars v.1.4.3 by WooThemes
Yoast SEO Premium v.2.3.5 by Team Yoast
WordPress Charts v.0.6.9.1 by Paul van Zyl
WP Rocket v.2.6.12 by WP Rocket
WP101 Video Tutorials v.0.3 by WP101Plugin.com
WP MU plugins
System Plugin v. byHi @bradcooper2112,
It seems that your plugin settings are saved but the plugin is not working at all! A cookie should be set, but it is not. And a url like http://fcd.ced.myftpupload.com/wp-content/uploads/2014/09/Making-Angels1.jpg?debug=true should produce debugging output and not the original image.
Could you remove or correct the watched directory “http/fcdcedmyftpuploadcom/wp-content/uploads/2015/11/Making-Angels-Stacey-Urrutia-Family-on-Dockjpg”? I believe it might be causing some confusion!
Cheers,
TakisHere is my print debug:
✔ PHP GD library is installed.
✔ Image cache directory has been created.
/home/content/p3pnexwpnas10_data02/48/2834548/html/wp-content/cache/adaptive-images => drwx—r-x
✔ Installation .htaccess file is setup OK.
/home/content/p3pnexwpnas10_data02/48/2834548/html/.htaccess => -rw—-r–
❖ Adaptive images settings dump:
array(12) {
[“resolutions”]=>
array(3) {
[0]=>
int(1024)
[1]=>
int(640)
[2]=>
int(480)
}
[“landscape”]=>
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)
[“sharpen-images”]=>
bool(true)
[“watch-cache”]=>
bool(true)
[“browser-cache”]=>
float(180)
[“hidpi”]=>
bool(false)
[“version”]=>
string(6) “0.6.41”
[“sanitized”]=>
bool(true)
}Here is wp debug info:
Web Server
Apache
Document Root
/var/chroot/home/content/p3pnexwpnas10_data02/48/2834548/html
PHP
5.4.42
PHP Time Limit
30
PHP Memory Limit
256M
PHP Post Max Size
65M
PHP Upload Max Size
64M
PHP Max Input Vars
1000
PHP Display Errors
Yes
PHP Error Log
MySQL
5.5.40-36.1-log
MySQL Ext/mysqli
No
MySQL Table Prefix
wp_
MySQL DB Charset
utf8
WP
4.3.1
WP Multisite
No
WP Debug Mode
No
WP Site url
http://2bd.c98.myftpupload.com
WP WP Home url
http://2bd.c98.myftpupload.com
WP Permalinks
/news/%postname%/
WP home path
/home/content/p3pnexwpnas10_data02/48/2834548/html/
WP content dir
/home/content/p3pnexwpnas10_data02/48/2834548/html/wp-content
WP plugin dir
/home/content/p3pnexwpnas10_data02/48/2834548/html/wp-content/plugins
WP content url
http://2bd.c98.myftpupload.com/wp-content
WP plugin url
http://2bd.c98.myftpupload.com/wp-content/plugins
WP Locale
en_US
WP Memory Limit
40M
WP Max Upload Size
64mb
WP Active plugins
Adaptive Images for WordPress v.0.6.41 by Nevma
Advanced Custom Fields Pro v.5.3.2.1 by elliot condon
Disable Emojis v.1.5.1 by Ryan Hellyer
Remove Category URL v.1.1 by Valerio Souza, WordLab Academy
Snazzy Maps v.1.1.1 by Atmist
Category Order and Taxonomy Terms Order v.1.4.6.1 by Nsp-Code
Typekit Fonts for WordPress v.1.8 by OM4
Yoast SEO v.2.3.5 by Team Yoast
Nested Pages v.1.5.3 by Kyle Phillips
WP MU plugins
System Plugin v. byHi, @karlos-gmdd, it still all seems OK! This is weird behaviour.
It seems that the resolution cookie is being correctly send back to the server for the plugin to handle or it is not received there at all!
Is your website behind a caching server, like Varnish, or a CDN perhaps? Because that might be an issue…
there is caching on that server — it is controlled by media temple. thanks for looking into this for me.
You are welcome! 🙂
Well this is the issue! The caching. You see the plugin is configured to work on the same server that serves the actual images. And in a CDN or caching server the delivery is handled by the CDN or the caching server. For these cases we have developed the “CDN support” option, which works quite well but is still a bit experimental unfortunately. You may use it if wish and tell me how it works for you.
Also, we will be making it a lot more stable in the upcoming version 0.7.0. So, stay tuned!
Cheers,
Takis
The topic ‘Client width / Resolution not changing on mobile’ is closed to new replies.