I take care of my wife’s WordPress site and she has a bunch of images in her media library that say they are “Unattached”, yet she has used them in posts and they display properly in those posts. I am not sure how they got in this state and I am not sure if this is a bad thing or not.
I did click “Attach” on her two most recent images and attached them to her draft post which she already had them in. They now show as attached and the post was not altered, leaving the two images where they were in the post. I checked the database and it looks like when the images are attached, there is a record created in wp\_posts for each image, with the parent being the main post record.
What are the impacts of having unattached images in the media library? Is there an easy, automated way to fix this?