A lot of images reported as being unattached
-
tl;dr: Some sites in my WordPress network reports a lot of images (even up to 70% of all images ever uploaded) as not being attached to any blog post. This is not true. In most sites all images are in fact used and in some there are truly only 2-3 images not used. How can I fix this? What to do in future to avoid this situation?
——
While browsing through my Media Library I have noticed that a lot of images in it are reported as not being attached to any post:
Upon closer investigation (displaying details of each image) it is confirmed, because each and every image displayed here does not have “Uploaded To” field filled-up in image’s details.
However, this is 100% not true. Each and every image in above screenshot is actually attached to some post. Images from 2nd till 5th are added to one post in form of gallery and all remaining images (1st and 6th till 15th) are used as featured image for one or more posts in my blog.
The same goes for each and every image listed with “Unattached” filter. All of them are in fact used as featured image. I don’t have even a single image that isn’t actually attached or used within at least one blog post, so I don’t know how contents of this screen are generated.
I’ve been using my WordPress network and this particular site for 10+ years. I’ve been using featured images feature ever since WordPress and my theme started supporting them. And ever since then I’ve been adding featured images in exactly the same way — by using proper controls, first in classic editor then in Gutenberg.
So each and every image in my blog is attached to some post, by the usual means, yet this looks like totally random. Some randomly selected images are reported as unattached.
I have checked Media Library in my other sites, being part of the same WordPress network, and the situation is also very random. On one site I have zero images reported as unattached, on some other one I have just 2-3 reported as unattached and on one or two remaining I have more than 50-70% of all images reported as unattached.
How can I fix this? What to do or what to look for when next time uploading image or setting featured image to avoid more and more images being mistakenly reported as unattached.
The page I need help with: [log in to see the link]
- The topic ‘A lot of images reported as being unattached’ is closed to new replies.