Can’t see images after activation
-
Hello
When I activate this plugin I lose access to all images on the site – e.g. I do not have permission to access them, even via direct URL.
If I deactivate the plugin, I regain access to all images. I’m guessing this is something to do with the htaccess permissions.
How can I fix? Entire .htaccess file looks like this:
# BEGIN Adaptive Images
#=======================<IfModule mod_rewrite.c>
RewriteEngine On
# Watched directories
RewriteCond %{REQUEST_URI} /crown3/wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /crown3/wp-content/themes# Redirect images through the adaptive images script
RewriteRule \.(?:jpe?g|gif|png)$ /crown3/C:\xampp\htdocs\crown3\wp-content\plugins\adaptive-images/adaptive-images-script.php [L]</IfModule>
# END Adaptive Images
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /crown3/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /crown3/index.php [L]
</IfModule># END WordPress
Debug info
? PHP GD library is installed.
? Image cache directory has been created.
C:\xampp\htdocs\crown3/wp-content/cache/adaptive-images => drwxrwxrwx
? Installation .htaccess file is setup OK.
C:/xampp/htdocs/crown3/.htaccess => -rw-rw-rw-
? Adaptive images settings dump:
array(14) {
[“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(6) “0.6.62”
[“sanitized”]=>
bool(true)
[“wp-content-dir”]=>
string(33) “C:\xampp\htdocs\crown3/wp-content”
[“wp-content-url”]=>
string(34) “https://localhost/crown3/wp-content”
}Diagnostics
System information
Web Server
Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
Document Root
C:/xampp/htdocs
PHP
5.6.30
PHP Time Limit
30
PHP Memory Limit
256M
PHP Post Max Size
8M
PHP Upload Max Size
2M
PHP Max Input Vars
1000
PHP Display Errors
Yes
PHP Error Log
C:\xampp\php\logs\php_error_log
MySQL
5.5.5-10.1.21-MariaDB
MySQL Ext/mysqli
Yes
MySQL Table Prefix
wp_
MySQL DB Charset
utf8
WP
4.8
WP Multisite
No
WP Debug Mode
No
WP Site url
https://localhost/crown3
WP WP Home url
https://localhost/crown3
WP Permalinks
/%year%/%monthnum%/%day%/%postname%/
WP home path
C:/xampp/htdocs/crown3/
WP content dir
C:\xampp\htdocs\crown3/wp-content
WP plugin dir
C:\xampp\htdocs\crown3/wp-content/plugins
WP content url
https://localhost/crown3/wp-content
WP plugin url
https://localhost/crown3/wp-content/plugins
WP Locale
en_GB
WP Memory Limit
40M
WP Max Upload Size
2mb
WP Active plugins
Adaptive Images for WordPress v.0.6.62 by Nevma
One Click Demo Import v.2.3.0 by ProteusThemes
WooCommerce PayPal Express Checkout Gateway v.1.4.0 by WooCommerce
WooCommerce v.3.0.8 by Automattic
WP MU plugins
- The topic ‘Can’t see images after activation’ is closed to new replies.