an image of 578 KB will upload but an image of 610 KB or above will not.ĮDIT 3: Setting the permissions of the folders in the root directory to 755 and the permissions of the files in the root folder to 644 as is suggested in the article How to Fix File and Folder Permissions Error in WordPress did not work. Please advise as to whether or not this is the best way of "resetting the ownership and permissions of the wp-content folder", and if you think it will help to eliminate the HTTP error when uploading images to the WordPress media library.ĮDIT 2: I have noticed that images with smaller file sizes are able to upload without error. I don't want to make any changes that can't be undone and I'm not even sure if this is what's meant by resetting ownership and permissions of the wp-content folder. The article suggests changing the folder permissions to 755 (my folders already have this permission)īut I'm nervous about doing this. So, what does it mean to reset the ownership and permissions of this folder? Would I simply need to follow the instructions in this article (How to Fix File and Folder Permissions Error in WordPress)? I admit - I haven't yet tried the suggestions in this article (25 Image Media Uploader Problems – WordPress), but before I do, I also heard that I should try resetting the ownership and permissions of the wp-content folder. # Exclude the file upload and WP CRON scripts from authentication (As was suggested by the most upvoted answer in that article)Īnd I've also tried some of the things that were suggested in the accepted answer of that article, such as adding define('WP_MEMORY_LIMIT', '256MB') to the wp-config.php file, and adding the following codes to the. Return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ) However, I've already tried adding this code to the functions.php file: add_filter( 'wp_image_editors', 'change_graphic_lib' ) How to Fix HTTP Error When Uploading Images?
I've noticed several articles about how to deal with the HTTP error when uploading images to the WP Media library: