Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress - Images not showing up in the Media Library

Tags:

I have a huge problem with my Wordpress. My uploaded images don't list in the Media Library.

It is weird tho, it says I have 75 images, but display none. Take a look yourself.

75 images, none list

Even weirder, if I go into gallery (the images you uploaded in the page itself), the images list just fine.

I already tried deactivating all my plugins, didn't work. Cache can be easily put out of the question, because it happened on at least 4 different computers, with Macs, PCs, and navigating with Safari, Firefox and Chrome.

Another interesting fact is that if I upload the image directly trough the computer (with the "From Computer" tab), everything goes fine. Another website on the same server works just fine too. And just to add to the complexity, when I go to the media page in the Wordpress Admin, all images show up just fine.

Oh, and before I forget... applying any filters, or doing a research in the media will always come up with the same problem.

So there... that's where I'm at.

like image 515
Fredy31 Avatar asked Dec 08 '11 21:12

Fredy31


People also ask

How do I fix my WordPress media library?

Go to Plugins > Installed Plugins in your WordPress backend. Now deactivate all plugins that are still active. Take a look at the Media Library in your WordPress to see if it works again. If it works, reactivate a plugin and check again if the media library works again.

Why are my images blank WordPress?

If you having upload issues, and instead of seeing proper images in your gallery, you see blanks like the picture below, then the issue is likely from your upload folder. To fix this, you have to ensure your upload folder has the right permissions.

Why is WordPress not uploading my photos?

The image upload issue in WordPress is typically caused by incorrect file permissions. Your WordPress files are stored on your web hosting server and need specific file and directory permissions to work. Wrong file permissions prevent WordPress from reading or uploading file on the hosting server.


1 Answers

I had a same problem just now, with missing media library images for my blog. The images appeared to be right there in the media library and were definitely on the actual web server (checked via FTP).

As Allen Z advised I did "check Settings → Media and make sure that Uploading Files folder is set to wp-content/uploads"

Mine were set to the default blank. I altered this to an absolute path http://www.example.com/wp-content/uploads

THIS DIDNT SOLVE THE PROBLEM when I refreshed the site in browser. However, I immediately changed the path back to blank (the default setting again) and everything came back! Woop

Everyone having this problem might want to try this before getting into the more technical fixes!

like image 75
Tony Blackwood Avatar answered Sep 27 '22 20:09

Tony Blackwood