WordPress image upload issues
The site I am working on was set up by another developer and we have had several issues with its use but this one has caused me a lot more grief.
An error occurred in the upload, please try again later
Each time we try to upload an image to a post using the Add Media, we get the error message “An error occurred in the upload, please try again later.”
However, accessing the Media Library, the image is there.
But when you try to view any images from a post by clicking the Add Media button, the library looks as if it is empty.
Depending on where you look online, the answer could be a plugin or it could be a recent WordPress update – it is the first time that we have tried to upload our own images to posts so I don’t know whether the problem has always been there. Or whether it is a new issue. The site came with images uploaded to pages but these have been set up in a way that I have never come across before.
However, we have worked out how to put images into the blog posts.
Easy fix for An error occurred in the upload, please try again later issue
Even though it says the image has not uploaded, you will be able to see it in the Media Library.
Hover underneath the title of the image and you will see an Edit button
Click on the edit and it will give you a new dashboard
On the right hand side you will see a fire url which will look like http://DomainName.co.uk/wp-content/uploads/2013/06/NameOfImage.jpg
Paste the code below into the post where you want the image to go. Then replace the url that shows after src= with the new file url you have just taken from the image upload. It’s shonky but it’s what we’ve got to work with. Let me know if you cannot get this to work.
Hopefully, this will avoid you going through the laborious process of winding back to a previous version of WordPress. Or going through the hassle of switching off all your plugins and activating them one by one to see which is causing the issue.