Link to home
Start Free TrialLog in
Avatar of Ted Palmer
Ted PalmerFlag for United States of America

asked on

Image files not showing up in WordPress media library in the WP dashboard

I had a problem caused, I believe, by a theme that I have chosen to use. I determined that the best solution was to uninstall then reinstall WordPress. I did that including the chosen theme and the usual set of plugins. That seemed to fix the problem I was having that triggered this whole mess in the first place. I had 3 web pages created to my satisfaction before I had to do the uninstall of WP. I have a backup copy on my local machine hard disk of all my WP folders and files under /public/wordpress using my WS_FTP program before I uninstalled WP. AT the time I made the backup file set there were no problems with WP. So everything I downloaded to my hard disk should be without flaw. Using the same WS_FTP program I uploaded the image files to the exact same folder structure that existed before I uninstalled WP. I'll spare you the details has to how I know that the subdirectory structure was exactly the same as when everything was working OK. But believe me. They are the same. I was able to verify this using FileManagerPro provided by my web hosting company Earthlink.

After reading some problems/solutions in the WP forum, I changed the permissions on all the files and folders to 755 beginning with the "/Upload" directory as was suggested in one of the WP forum entries. This didn't help me one bit even though a respondent in the forum said this fixed this problem for them. I made the permission changes using FileManagerPro provided by my web hosting company Earthlink.

I hope somebody here has a solution that will work for me. I think I may need to acquire "BackupBuddy". Oh! my local environment is Windows 7.
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

So what exactly is the current problem?  What can you see or not see?

What is the current version of WordPress, which theme are you using, which plugins are installed?
ASKER CERTIFIED SOLUTION
Avatar of DrDamnit
DrDamnit
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ted Palmer

ASKER

Michael,

I didn't know that the media files had to be recorded in the DB. I thought that when WordPress started up it would read all the media files that were in the upload subdir structure and load them into the "Media Library".

>> "Depending on how many media files there are, it may be more efficient to just re-upload them."

That is what I was trying to avoid by FTPing the files from my local machine hard drive to what I thought was their proper place in the  upload subdir structure . I proved that by a simple test that I should have done before I even posted this question. I am going to have to do a better job of organizing my media files at this end so that when it becomes necessary to restore them to the Media Library from my local machine hard drive it won't be such an onerous burden to carry. Something tells me that I am going to have to uninstall and reinstall Word Press multiple times to deal with the issues from my chosen theme Weaver Xtreme. I'm not ready to abandon that theme yet. There are a lot of things about it that I like. I'll just have to identify the hard way what the issues are to avoid. Once I get by the issues my experience has been that the product will be stable and reliable in production. Now all I'll have to do is endure the theme's author who is an arrogant jerk with a Ph.D.
There is a way to load your media files back from an FTP upload.

Use this plugin:

https://wordpress.org/plugins/add-from-server/
Something tells me that I am going to have to uninstall and reinstall Word Press multiple times

No.  You need to switch to a better theme.  I have worked with WordPress extensively since 2009 and I can count the number of times I have had to reinstall the core on one hand.
Thank you Jason. I'll definitely try your suggestion. It looks like a very good one.