Support » Fixing WordPress » Images from Media Library not showing up on site after upgrade

  • I am having a problem with the images on my website,
    http://www.ravengarcia.com.

    Before I start, I’ll admit that I don’t know much about how WordPress works. A friend set the site up for me. All I do is write articles and upload content. The site was hacked a few days ago and a weird message started appearing at the top of all pages. The guy who set the site up for me had a look at it, apparently I hadn’t upgraded in ages and was still using WordPress 2.8, apparently this left my site vulnerable to hacking and somebody got in but luckily wasn’t able to do any damage.

    My friend upgraded me to the latest version and upgraded all my plugins that were out of date. He then backed up my database and re-installed WordPress plus the database. He could not save my theme which I had modified but downloaded a copy of the original version which I then had to remake all the changes I’d made, which took about an hour but once it was done I thought I was in the clear.

    However, it turns out that all of my 700+ images from the last year and a half have now vanished as they are no longer appearing on the site. But the strange thing is, the images still appear on Google images search with my website address underneath, and the filenames also appear in the Media Library but the thumbnails are not showing up. When I click on “edit” all of the dimensions of the image are displayed as well as the date I originally uploaded them but I cannot see the image. However according to the Media Library the files are there and this is confirmed when searching for specific images from my site on Google. So how do I get them back??

    It seems like this problem only started occurring after WordPress was upgraded, so I’m thinking it might be a problem with the new WP. If anybody could help me with this I would be extremely grateful, some of the photos held great sentimental value for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check your file paths. When your friend upgraded your site did he copy over the wp-content file? The posts are stored in the database but the images are stored in the file system. When I clicked on an image in the post, a 404 error was displayed so the images are not in the place where you have said they are in the code. Here’s the example I looked at:

    http://www.ravengarcia.com/wp-content/uploads/2010/02/Me.jpg

    What is the correct path to the images? Are they still on the server?

    Thread Starter ravengarcia.xiv

    (@ravengarciaxiv)

    Hi Tim, thank you for your reply.

    I am trying to get hold of my friend at the moment to find out if he copied over the wp-content file but I am not having any luck reaching him. Is there any way I could check this myself?

    The example you looked at looks like it should work, obviously something has been changed in the upgrade process but I don’t really know anything about the file system so I really don’t know how to check to see if the images are still on the server… any ideas how I could do this?

    Raven

    Hi Raven,

    If you have access to your site using FTP or some file manager, then follow the path of the images. the images should be in:

    /wp-content/uploads/2010/02/

    If they are not in that folder, find out where your images are. Search for the file Me.jpg and see if you can find it. It might be as simple as moving the files to the correct place.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images from Media Library not showing up on site after upgrade’ is closed to new replies.