• gilgongo

    (@gilgongo)


    I seem to have duplicate images in my media library (why, I don’t know). So I look at one of them and it says it’s in use on a page I’ve recently deleted (I can click the link it provides and it duly goes to a 404). So I delete that image, because I assume it doesn’t need to be duplicated in my library.

    I then look at my site, and a page that should have that image isn’t showing that image any more. But it’s a different page, not the one mentioned in the image I deleted! I then wonder what happens if the same image is used on multiple pages. Is that where the duplicates come from? Why? Isn’t that just cluttering up the library?

    Then I look at another image that’s duplicated (a different image this time). It seems to indicate it’s not in use (very subtle – by not saying where it’s in use). So I delete that in the hope I can decrease the clutter…

    Why do I have to do this? Is it just me?

    • This topic was modified 6 months ago by gilgongo.
Viewing 1 replies (of 1 total)
  • threadi

    (@threadi)

    The mark that a file is assigned to a page is unfortunately very limited for historical reasons and therefore hardly usable as it is unreliable. You can only assign exactly one page here. No more. If you use a file in several places, perhaps only one page will be marked, but not others because WordPress does not save this information in its own database. I hope that this will change in the course of future development.

    For this reason, you should not delete any files based solely on this information. There is currently no reliable way to really check the use of images, even if there are some plugins that say they can.

Viewing 1 replies (of 1 total)
  • The topic ‘Is it just me, or is the Media Library sort of broken?’ is closed to new replies.