Can’t generate thumbnails on localhost
-
Hello!
I’m working on localhost (have no link because of that) and the site is installed in a subdirectory and the uploads folder is installed outside the wp-installation and is named “images”.When installing FooGallery I get a errormessage saying I should check if GD Image Library extension is installed and activated which it is (checked both in php.ini and by phpinfo()). Run test to create thumbs fails.
After some testing it seems like this error appears only at localhost when WP is installed in a subdirectory. On a livesite when WP is installed in a subdirectory gives no errormessage. No errors when WP is installed in root on localhost. Doesn’t matter what theme I use. Have also tried to deactivate all other plugins.
This is the errormessage the “Run test” gives:
Thumbnail generation test failed!object(WP_Error)#5403 (2) { [“errors”]=> array(1) { [“error_loading_image”]=> array(1) { [0]=> string(17) “Filen finns inte?” } } [“error_data”]=> array(1) { [“error_loading_image”]=> string(85) “C:\xampp\htdocs\test7\nswp/nswp/wp-content/plugins/foogallery/assets/test_thumb_1.jpg” } } array(2) { [“ext”]=> string(3) “jpg” [“type”]=> string(10) “image/jpeg” }“Filen finns inte” (swedish) = File doesn’t exist
Anyone who have an idea why it won’t work on localhost when wp is in a subfolder?
The topic ‘Can’t generate thumbnails on localhost’ is closed to new replies.