Unattached photos in media
-
the unattached filter in media on photos doesn’t work. If photos were deleted/removed from a gallery or page it doesn’t know it and thus photos that are not being used anywhere on the website do not display on the filter. Now that we have to pay for storage this is very much needed to work now. I need to redo my photos on my website this offseason now. I can’t wait until peak season in May. Please fix this filter so I can use it!!!
The blog I need help with is: (visible only to logged in users)
-
Hi @alexatheo! I’m sorry to hear this filter isn’t showing what you were looking for!
Attachments in WordPress aren’t quite like they are in something like an email, and that filter isn’t designed to show images that are in a post currently. Attachments are images that WordPress knows “go with” a specific page or post – even if that image isn’t on the page itself. The Media Library’s List View actually let’s you attach as many images as you choose, without ever actually inserting them into the page.
Attachments aren’t used within WordPress as much as they used to be, but they do still have uses. This means a couple of important things:
- When you upload an image to a specific post or page, it automatically gets attached to that page.
- If you delete the image from that page later on, it’s still an attachment. WordPress will still remember that that image was connected to this post.
- Similarly, if you upload an image today, and then in one week write a post, and choose that same image out of the media library, it will not become an attachment.
On some sites “Attached” and “In use” end up being almost synonyms, but that is definitely not always the case.
When you have a moment, please contact our Happiness Engineers and share this forum thread with them so we can see if we can do anything to help.
edited to add link to support page -
If photos were deleted/removed from a gallery or page it doesn’t know it and thus photos that are not being used anywhere on the website do not display on the filter.
Unused doesn’t mean its unattached. If you didn’t delete the relevant photos after removing them from the page or post where they were uploaded, they are still technically attached to that post or page. It’s always been this way.
Additionally if you delete an entire post or page, the related photos you uploaded to it aren’t deleted from the media library. They become “unattached” instead.
https://wordpress.com/support/edit-media-library/#attach-or-detach-media
The fastest way to get a major headache is by deleting supposedly unattached images from the Media Library. And the only way I know to perhaps figure out what image is truly unattached is by searching for each image file name, ie myimagefile.jpg, in the search box on each of the pages and posts dashboards. Another major headache.

If you always resize and optimize your images at “mobile friendly” size before uploading them, you should have enough space for years to come. If you run out of space, the best solution is to upgrade your site plan.
- The topic ‘Unattached photos in media’ is closed to new replies.