One of the errors I came across while working on a client’s WordPress theme is the images in the library not showing. Apart from that, sometimes the images may be in the library but they show up as “blank” on the website.
How do you solve this problem.
Well, if images are not showing on our WordPress library, chances are that they are not there at all! To fix this problem, do the following:
i) Use the Library Image upload button and upload the images from your desktop or wehrever you have saved them.
ii) Confirm that the images have been uploaded by clicking on one of them and checking its URL on the site. If there is no URL, chances are that it hasn’t upload. If this is the case, proceed to the next step.
iii) Log into cPanel, navigate to the images folder on your WordPress installation and upload the images.
TIP: You can put all the images in a compressed folder and upload the zip file into the images folder. After this, unzip the images after uploading them in the folder.
You can also do this step using FTP. I usually use FileZilla to access my FTP but you can use any FTP client you prefer.
WordPress Media Library Not Showing Thumbnails
Sometimes, you can see the images are on the images folder on your WordPress installation. The only problem may be that they are not showing on your website. If you get this error, here are 3 possible fixes for them:
i) Log into your cPanel (or use FTP) and navigate to the images folder. Check the folder permission is set to 755. This permission makes the folder readeable and writeable on the server, making it possible to display images.
ii) If fix (i) above did not work, try this fix. This requires you to edit the .htacess of your WordPress installation. If you had never edited the file before, simply back the existing one up. I usually do this by renaming it to something like .htaccess-old
From there, refresh your server and website. WordPress will create a fresh .htaccess and this can solve the problem of images not showing up.
That’s it folks. If you have any questions, leave them on the comment section below. Happy Friday!
If this post helped to solve your problem, buy me a cup of coffee below!
very usefull article. thankyou for sharing with us
thanks, it solves my problem.
Not solved. Still unable to access images on my site.
Thank you very much. Editing the .htacces fixed the issue for me. It was driving me bananas all this time.
Welcome!
I cannot thank you enough looks like problem solving answer ‘not showing thumbnails’ has done the trick for me after searching the internet for quite a few hours trying everything . Fab and very happy – Sue
What do you need to edit in the .htaccess file?
You have to log into your cPanel account, go to File Manager and you will see the .htacess file. (Make sure your File Manager settings are set to show hidden files since the file is usually hidden by default.) You can then edit the file using Notepad or any similar program. Make sure you save the changes you make on the file.
If you don’t see the file, you can create one on your own using notepad and upload it to your WordPress folder.
Helped me solved the issue. A new cache plugin with messing with my .htaccess file. Thanks!
thank you so much, finally fixed it