Wordpress Image Data Does Not Exist. Please Re-upload the Image
Are you facing image upload bug on your WordPress website? For near beginners, image upload errors tin exist quite confusing because they can appear without you doing anything dissimilar.
Failure to upload images is ane of the most mutual image issues in WordPress. Luckily, information technology is quite easy to prepare, and yous can practise it yourself.
In this article, we will show you how to easily fix the prototype upload issue in WordPress. We will also explain what causes this issue, and how y'all can prevent it in the future.
What Causes The Image Upload Issue in WordPress
The image upload issue in WordPress is typically acquired by incorrect file permissions. Your WordPress files are stored on your web hosting server and need specific file and directory permissions to piece of work.
Incorrect file permissions prevent WordPress from reading or uploading file on the hosting server. You lot may get the following error when uploading image file:
'Unable to create directory wp-content/uploads/2019/04. Is its parent directory writable by the server?'
Or, you lot might see the error 'The uploaded file could not be moved to wp-content/uploads/'.
Another sign of this issue is that your images may disappear from the media library.
My site was working fine before? Who inverse the file permissions?
This could happen due to a number of reasons. A misconfiguration on your shared hosting server tin can sometimes change those permissions without you doing anything.
For case, your web hosting provider ran an upgrade which unexpectedly changed file permissions.
If everything else is working fine on your website, then you can simply use the right file permissions to fix the epitome upload effect.
That beingness said, allow's take a look at how to prepare correct file permissions to fix image upload issues on your WordPress site.
Fixing Prototype Upload Issue in WordPress
In order to change file permissions, you will demand to use an FTP client.
First, connect to your website via FTP and then go to /wp-content/
folder. Inside, you'll find the uploads
folder, which is where WordPress stores all your media uploads including images.
Now right click on the uploads directory then select File Permissions.
This will bring up the file permissions dialog box.
First, you lot volition need to ready file permissions for the uploads directory and all the subdirectories inside it to 744.
To exercise that, enter 744 in the numeric value box, and then check the box next to Recurse into subdirectories option. Now click on the 'Apply to directories but' radio button.
Click on the OK button to apply these changes. Your FTP client will now start applying file permissions to the directories.
Note: If setting directory permissions to 744 does not seem to solve your problem, and then endeavour 755.
In the adjacent step, you will need to set file permissions for all the files in the uploads directory.
To practice that, right click on uploads directory and select file permissions. In the file permissions dialog box, modify the numeric value to 644.
Check the box adjacent to Recurse into subdirectories. Lastly, you need to click on 'Apply to files only' radio button. Click on the OK button to apply these changes.
The FTP client will now change the permissions for all files inside the uploads folder. Once it is done, you can become back to your WordPress admin area and attempt uploading images over again.
If yous have any file upload forms on your website, y'all should examination those equally well.
Note: if you don't know how to apply a FTP client, then you can also use the file manager provided past your WordPress hosting company. Since the screenshots volition vary from each host, you will need to talk to their back up to find instructions.
We promise this commodity helped you fix the image upload issue in WordPress. You may also desire to see our commodity on how to choose the best WordPress hosting, or run across our comparison of the best GoDaddy alternatives.
If you lot liked this article, and so delight subscribe to our YouTube Channel for WordPress video tutorials. You can also find u.s. on Twitter and Facebook.
Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. Come across how WPBeginner is funded, why it matters, and how you lot tin support us.
Source: https://www.wpbeginner.com/wp-tutorials/how-to-fix-image-upload-issue-in-wordpress/
0 Response to "Wordpress Image Data Does Not Exist. Please Re-upload the Image"
Post a Comment