Wordpress - Images not showing up in the Media Library

117,373

Solution 1

How did you upload those images; via FTP or through WP uploader? You have to upload images THROUGH WP uploader in order to show them in the image library.

Solution 2

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!

Solution 3

it was your permalinks... you must have changed to labeled-name... switch back to default.

that worked for me.

Solution 4

Here's something a guy on Wordpress forum showed us. Add the following to your functions.php file. (remember to create a backup of your functions.php first)

add_filter( 'wp_image_editors', 'change_graphic_lib' );
function change_graphic_lib($array) {
  return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
}

...it was that simple.

Solution 5

Check Screen Options (dropdown tab in the upper right hand corner of the page), and make sure there are sane settings for what to show on screen. All the column settings should be checked, and there should be a positive number of media items being shown on screen.

If that is ok, then check Settings → Media and make sure that Uploading Files folder is set to wp-content/uploads.

I believe these are the only settings that can be changed from the administrative screens.

Share:
117,373
Fredy31
Author by

Fredy31

Fredy31 is a young web integrator from Montreal Canada.

Updated on March 11, 2020

Comments

  • Fredy31
    Fredy31 over 4 years

    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.

  • Fredy31
    Fredy31 over 12 years
    Yes, I did upload the images via WPUploader.
  • Fredy31
    Fredy31 over 12 years
    I checked these up, everything seems fine... nothing in screen options seems off and in media settings, the store uploads in this folder field is empty, going to the default wp-content/uploads
  • Kashif Rafique
    Kashif Rafique over 12 years
    What is your wordpress version? You just upgraded wordpress or it is clean install? Can you list all of your active and inactive plugin?
  • Fredy31
    Fredy31 over 12 years
    It was an updated version... Check my answer for more details.
  • Allen Z.
    Allen Z. over 12 years
    Try checking wp-content/uploads in the actual server filesystem, to verify that your images are indeed being stored there.
  • Kashif Rafique
    Kashif Rafique over 12 years
    So you figured it out! You can also use this plugin if it is not fixed yet: wordpress.org/extend/plugins/hotfix I hope it will work for you.
  • Saeed Pirdost
    Saeed Pirdost over 11 years
    I am uploading photos that are retrieved from webserices, but it does not show them , although the photos will be saves successfully, any idea?
  • Fredy31
    Fredy31 over 8 years
    The question is close to be 5 years of age. I honestly can't remember.
  • Jon
    Jon over 7 years
    Clearing my absolute URL worked for me, too! Thanks Tony!
  • Bas van Dijk
    Bas van Dijk over 5 years
    Why is this "answer" getting so many upvotes when its not even an answer.
  • Bas van Dijk
    Bas van Dijk over 5 years
    Do you have any idea how resetting the permalinks can cause the images to reappear again?