WordPress Tutorial Videos by WP101®

175+ WordPress tutorial videos for non-techies.

  • About Us
    • Top WordPress Products
    • Testimonials
  • WordPress Tutorials
    • Intro to WordPress
    • WordPress 101
    • AIOSEO 101
    • WP Mail SMTP 101
    • Easy Digital Downloads 101
    • WPCode 101
    • WP Simple Pay 101
    • RafflePress 101
    • Elementor 101
    • WPForms 101
    • Spectra 101
    • How to Blog Better
    • WooCommerce 101
    • Beaver Builder 101
    • Ninja Forms 101
    • WP Rocket 101
  • Help Forum
    • Hire a WordPress Expert
  • Blog
  • Contact
  • Sign In

How do I identify which duplicate in the media library is actually being used in a post?

Get answers to your WordPress questions!

Tired of wasting time scouring Google for answers to your WordPress questions? Since 2008, we've helped countless WordPress site owners just like you get unstuck. Get answers to your WordPress questions — plus unlimited access to our entire library of 150+ WordPress tutorial videos. Why not join us today?

View Membership Options
WordPress Questions and Answers › How do I identify which duplicate in the media library is actually being used in a post?
0 Vote Up Vote Down
P
Paul
asked 4 years ago
In my (earlier) frustration at not knowing what I was doing--still largely the case--I uploaded duplicates and triplicates of various images. I eventually used one of each. Assuming the website will run more efficiently with fewer images in dead storage, although I'm not perceiving slow performance, I'd like to rationalize the media library. So how do I know which images are being used and which are duplicates to be deleted?
P
Paul
replied 4 years ago

Aha, so that’s what those symbols on the upper left are. Thanks for the info. I’d been afraid to venture up there.

Problem now–nothing major, to be sure, given my minuscule media library at the moment and greater care uploading henceforth–is that a number of media items in my libraries are marked ‘unattached’ while they’re actually attached, thus ruling out Jordy Meow’s Media Cleaner expedient, lest I permanently delete something I’m using in a post.

I’ve read the explanation on one of the WP forums as to why that happens. But all the media used in my widgets are marked ‘unattached’ even though I never edit them once they’ve been uploaded directly to the widgets (but WP resizes them). And I can’t find an explanation for that.

The solution, of course, is simply to attach the media manually. But I’m curious: Are widgets treated differently from posts by WP even though they appear to be treated similarly by Gutenberg? Or is there another explanation for WP’s failure or refusal to automatically attach uploaded media to widgets?

Shawn Hesketh replied 4 years ago

Yes, I’m pretty sure the Media Library only shows images or files that are used within posts or pages, not widgets.

1 Answers
0 Vote Up Vote Down
Shawn Hesketh answered 4 years ago
Hi Paul, When you're viewing the Media Library, there are two views: List View and Grid View. If you switch to List View, you'll see a column titled, “Uploaded to”. When an image is being used on a post or page, that column will contain a link to the post or page where the image is being used. If an image is NOT being used anywhere, it will indicate, “(Unattached) ”. You can then safely delete any image that is not in use. You might also check out the Media Cleaner plugin. It cleans your Media Library from any files which aren't being used in your website, as well as any broken entries. It also has its own internal trash, so you can make sure everything is still working properly before permanently deleting any files. Hope this helps!

Please login or register to join the conversation!

Share this with someone?

FacebookTweetLinkedIn

Most Recent Questions

  • I took the Sprectra 101 course. Now I’m building my won web site but I still have the Specra Style Guide and I think it’s causing an issue with Sprectra One. How do I get rid of the Style guide? asked by Mallis01, 1 year ago
  • Can you offer any tips, or best practices, on how to redesign and upgrade an old website? asked by FSAuthor, 1 year ago
  • How to create a blog in Spectra? asked by TJ, 1 year ago
  • How do I make all the words show Uppercase? asked by iLoveToLiveWell.com, 1 year ago
  • Why does my right side dashboard top look different than course. asked by Blues1947, 2 years ago

Site Links

  • About Us
  • Your Account
  • Products We ❤️
  • Affiliates
  • Testimonials
  • Blog
  • Contact Us

Courses

  • WordPress 101
  • WooCommerce
  • Elementor
  • Spectra
  • WPForms
  • Ninja Forms
  • View All →

Products

  • WP101.com
  • WP101 Plugin
  • Embed our videos on your site!

Recent Posts

  • Best WordPress Order Form Plugins 2025 – Expert Review & Comparison
  • Find Your Ideal Domain Name: Best Registrars in 2025
  • MonsterInsights Review: Best Google Analytics Plugin for WordPress (2025)
  • WordPress SEO 101: Complete Beginner’s Guide in an AI Era
  • 13 Best Payment Plugins for WordPress Sites (Expert Review)

Connect with Us

  • Email
  • Facebook
  • Twitter

WordPress Tutorials by WP101© 2008-2025 WP101® LLC. All rights reserved.
WP101® is a registered trademark with the U.S. Patent and Trademark Office.
WP101® is hosted by SiteGround.
Privacy Policy | Terms of Use | Disclosure | WP101 Coupon