How to Fix Image Upload Issue in WordPress?

How to resolve Image Upload Issue in WordPress?

Team Leader Asked on February 11, 2017 in WORDPRESS.
Add Comment
2 Answer(s)

{1}Change folder Permissions:
Connect to your website using the FTP client and then go to /wp-content/ directory. There you will see /uploads/ folder. Right click on the uploads directory and select file permissions.
Change these settings:

Numeric Value: 744
Recurse into Subdirectories: Tick the checkbox.
Select the Apply to Directories Only radio button.

{ii}Deactivate All of the Plugins:
First deactivate all the plugins and try to upload image and see if that fixes the issue.

{iii}Increase Memory Limit
using php.ini file


memory_limit = 64M ;


using wp-config.php

define('WP_MEMORY_LIMIT', '64M');

Team Leader Answered on March 9, 2017.
Add Comment

Please try the below steps.

A) Add this to your .htaccess file at the root of your WordPress installation just before the # BEGIN WordPress line:

SetEnv MAGICK_THREAD_LIMIT 1

OR

B) Copy the below code and add into functions.php file

add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );

function change_graphic_lib($array) {
return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ );
}

Team Leader Answered on March 9, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.