Images not generated in cache folder
-
Nevma —
I’m having similar issues to other folks: no images are being generated within the cache folder, which causes all images on the site to break: http://staging.tartandruim.com.
The cache/adaptive-images folder was not created when the plugin was activated, so I created it manually. To debug and ensure that there are no permission issues, I temporarily changed the permissions to 777.
Here is the debug output (with the actual root folder removed):
✔ PHP GD library is installed.
✔ Image cache directory has been created.
{folder}/wp-content/cache/adaptive-images => drwxrwxrwx
✔ Installation .htaccess file is setup OK.
{folder}/.htaccess => -rw—-r–
❖ Adaptive images settings dump:
array(12) {
[“resolutions”]=>
array(3) {
[0]=>
int(1024)
[1]=>
int(640)
[2]=>
int(480)
}
[“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)
[“landscape”]=>
bool(false)
[“hidpi”]=>
bool(false)
[“cdn-support”]=>
bool(false)
[“version”]=>
string(5) “0.6.1”
[“sanitized”]=>
bool(true)
}And here’s the relevant portion of .htaccess (again with actual root folder removed):
# BEGIN Adaptive Images
#=======================<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)$ {folder}/wp-content/plugins/adaptive-images/adaptive-images-script.php [L]</IfModule>
# END Adaptive Images
And here’s the diagnostic output:
Web Server
Apache
PHP
5.4.44
PHP Time Limit
50000
PHP Memory Limit
256M
PHP Post Max Size
8M
PHP Upload Max Size
40M
PHP Max Input Vars
5000
PHP Display Errors
1
PHP Error Log
MySQL
5.1.73-log
MySQL Ext/mysqli
No
MySQL Table Prefix
td_
MySQL DB Charset
utf8
WordPress
4.3
WP Multisite
No
WP Debug Mode
No
WP Site url
http://staging.tartandruim.com
WP WP Home url
http://staging.tartandruim.com
WP Permalinks
/%postname%/
WP content dir
{folder}/wp-content
WP content url
http://staging.tartandruim.com/wp-content
WP plugin dir
{folder}/wp-content/plugins
WP plugin url
http://staging.tartandruim.com/wp-content/plugins
WP Locale
en_US
WP Memory Limit
40M
WP Max Upload Size
8mb
WP Active plugins
Adaptive Images for WordPress v.0.6.1 by Nevma
Black Studio TinyMCE Widget v.2.2.6 by Black Studio
Contact Form 7 v.4.2.2 by Takayuki Miyoshi
Disable Comments v.1.3.2 by Samir Shah
Easy Google Fonts v.1.3.9 by Titanium Themes
Lightbox Plus Colorbox v.2.7.2 by Dan Zappone
Page Builder by SiteOrigin v.2.1.5 by SiteOrigin
SiteOrigin Widgets Bundle v.1.4.2 by SiteOrigin
Spacer v.1.0 by Justin Saad
Title Remover v.1.0 by Brittany Internet Services
WP Clone v.2.1.8 by WPCrafter.comAny ideas on how to get the images to be generated?
Thanks —
–Andy
The topic ‘Images not generated in cache folder’ is closed to new replies.