Support » Fixing WordPress » Media Library showing blue ? as photos.

  • Hello,

    Before I explain the issue let me mention that I don’t know any coding or so but spending some time with WordPress, Woocommerce and Flatsome, learned a few things on my own.

    Problem : Photos are not visible in grid mode in the library and also on the shop pages. But I can see in list mode in the media library. Instead of the photo there is a blue question mark.

    I am using the latest versions of everything and until I deleted manually unattached photos from media library, everything was fine. After that , I lost some of the photos. I searched the forums and applied permission change to 755 for three directories and 644 for all the files. Did not help. Uninstalled all plugins, and change the theme, unfortunately still the problem exists.

    I really need help. Can someone give an idea please?My site is dead at the moment.


    • This topic was modified 1 year, 11 months ago by fozturk.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • When you say manually deleted – do you mean outside of WordPress (e.g. using FTP or a file manager)? How did you determine what was unused and could be deleted?

    Because it sounds like you’ve just deleted images that were in use.

    WordPress creates multiple versions of an image when you upload one (different thumbnail sizes etc) – so could it be that you deleted some of those thinking they weren’t used?

    Do you have a recent backup? It may be enough just to restore the /wp-content/uploads/ folder.

    • This reply was modified 1 year, 11 months ago by smartyp.


    Thanks for the quick comments.

    Inside the media library you can select to list the unattached photos, so that’s how I did it. I did not use FTP file manager.
    But then to inquire I looked at this WPcontent/ upload folder. All the photos are there.I can even see some of the photos when I edit from the media library, even if it shows a grey box with blue question mark in the grid mode.

    When I want to regenerate the thumbnails. It says original size photo is not there. Bu that’s not true. There are many original sized photos. At the moment together with the them options, it created like 8 different thumbnails.

    Npt sure if this information was useful for you.


    You can use Add from server plugin which will attach media images again to database and it should probably work for you.

    Do you have a backup of your site? I think that’s going to be by far the quickest way to get the site up and running again. But I’d recommend taking another full backup now (database and files) before doing anything else.

    Hele Wordpresteem,

    Could you clarify more what you mean? Sorry I could not understand.


    Just an update,

    In the meantime I have went back to old backups. I repeated what I did this time on one set of media.

    As an example there is a phot of an product that I see in media library as attached to a product. then there are 5 other the same photos that are seen as unattached. When I delete only these unattached photos, the photo that is seen as attached becomes corrupted and regenerate thumbnails not working anymore stating original photo is not found.Hence the empty box on the shop page.

    I have it total 3600 photos and 2700 is reported as unattached. I want o get rid of them but ıf I take action I come to this problem. Is there nay idea to fix the issue?

    WP: 4.9.8
    Woocommerce : 3.5.1
    Flatsome : 3.7

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Media Library showing blue ? as photos.’ is closed to new replies.