Common Fixes For WordPress Media Library Not Showing Image


If you are trying to solve the issue of WordPress Media Library Not Showing Images, you are at the right place. WordPress Media Library is a place where all the photos, videos, and other media files are uploaded.

 Sometimes you see various Media Library issues such as thumbnails not showing, loading errors and grid view not working.

All of a sudden it makes the library a blank space. It stops you from adding an image to the content. First of all, you are not to blame. Secondly, there are various ways to fix this issue.

Why Does WordPress Media Library Not Show Images?

WordPress Media Library


Before coming to a solution, it is required to understand the causes of why the WordPress media library does not represent the images.

1) Incompatible or Poorly Coded Plugins

The problem of not displaying uploaded image files in the WordPress media library is commonly caused by inconsistent or badly coded plugins.

Many WordPress plugin related issues are attached to accidental coding issues or third-party software. They make the media library more exposable to bugs.

2) Inappropriate Themes Present in Media Library

Inappropriate themes are one of the major causes why the WordPress Media Library Not Showing Images warning appears on the screen.

 Moreover, themes that do not accept the media library can be dangerous to the website’s effectiveness. Later on, it intervenes with the media library by removing images and displays WordPress Media Library Not Showing Images.

3) Inaccurate File Permissions

Besides errors related to plugins and themes, your media library does not show images because of the incorrect file permissions. Every WordPress file is kept on the web hosting server.

 It needs a particular folder and directory permissions to execute. Sometimes it displays wrong file permissions, and at that time uploading or scanning image files on the hosting server gets stopped. Thus, it displays the warning of  WordPress Media Library Not Showing Images.

4) Blank Or Broken Thumbnail

Themes and conflicting plugins badly influence the existence of thumbnails on the WordPress platform. When thumbnails do not work accurately, it shows a gray layer or an empty file display alternatively.

How to Resolve WordPress Media Library Not Loading?

Let’s take a look at some ways to resolve the issue of the WordPress Media Library Not Showing Images warning.

1) Remove Browser Cache and Cookies

Sometimes the browser cache and cookies generate problems with the media library. To resolve the issue you have to remove them. You need to go to the browser settings and look for the options to clear cache and cookies.

2) Check the Error Logs of the Server

If you have an issue with the server it can cause a loading problem in the media library. To explore the server logs in cPanel, you need to be in touch with your hosting provider for assistance. You can do it yourself, by following these steps: 

  • First, you need to log into your cPanel account.
  • After that click on Metrics and then on Errors.
  • Now check the error logs associated with your media library or WordPress.

In any case, if there is any error that you do not understand, you need to contact your hosting provider.

3) Expand PHP Memory Limit

A lower PHP memory is another common problem for the issues with your media library not loading. You have to expand the PHP memory limit by modifying the wp-config.php file.

To perform this task, follow the below-mentioned steps:

  • First of all, you have to open the wp-config.php file in the root directory of your WordPress installation.
  • After that, you need to include the following code to the file i.e. define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
  • Now save the changes and try to refresh your website to see if Media Library is loading or not.

If this does not work well, you need to contact a hosting provider to improve the PHP memory limit.

4) Disabling the CDN

Sometimes using a CDN (Content Delivery Network) can cause issues with the Media Library. You need to disable it and check whether the Media Library is loading or not. To do this, follow these simple steps:

  • Just start by logging into your CDN account.
  • Then find the settings for your WordPress site and disable the CDN.
  • To see if the Media Library is loading or not you should refresh your website.
  • If it works, you are required to configure your CDN to work with WordPress 

In any case, if it does not work, contact your CDN provider for further assistance.

5) Check the Media Folder setup

One of the easiest ways to find an error is to check the storage of the media folder for uploading files. The uploads folder contains all the media related to the WordPress site including image-related issues such as edit image, image upload, and so on.

Md Jahangir
the authorMd Jahangir