WordPress Tutorials by WP101®

WordPress tutorial videos for beginners.

  • Buy Lifetime Pass
  • About WP101
    • Products We ❤️
    • Testimonials
  • WordPress Tutorials
    • WordPress 101 Course
    • WordPress 101: Classic
    • WooCommerce 101
    • Beaver Builder 101
    • Ninja Forms
    • WP Rocket 101
    • Jetpack Plugin
    • Yoast SEO
  • Help Forum
    • Hire a WordPress Expert
    • Contact Us
  • Blog
  • Log In

Will deleting a file in media library affect my post?

WordPress Q&A Forum › Will deleting a file in media library affect my post?
0 Vote Up Vote Down
R
Renna Zetha
asked 1 month ago

If I delete a file or image to clean up the media library, will the image used in a post disappear?
 
thanks

1 Answers
0 Vote Up Vote Down
Shawn Hesketh Staff answered 4 weeks ago

Hi Renna,

If you delete a file or image from your Media Library that has been inserted into a post or page, that image will be deleted… but it will appear as a broken link icon. So it won’t simply be removed. Instead, it will generate a missing image error.

When you’re browsing the Media Library, you’ll notice that there is a column on the right that displays whether or not the image or file has been used in a post or page. If it has been used, you’ll see a link to the post or page, which you can click to open the page/post in the Editor, then delete the image from the content and re-publish. Then, it’s safe to delete the image from your Media Library.

If an image or file has not been used in the content of a page or post, it will indicate that it is, “Unattached.”

Hope this helps!

Ask a Question

Share this with someone?

FacebookTweetLinkedIn

Most Recent Questions

  • How do I add a single column image rotator? asked by Valerie andrews
  • How do I show under constuction asked by Christine Yee
  • How do I add a subscribe box? asked by Kristen Priebe
  • Will deleting a file in media library affect my post? asked by Renna Zetha
  • Do WordPress templates offer responsive design? asked by Jennifer Suess
  • How do I create multiple sites? asked by Brett Marshall
  • How do I require individual logins to my site and manage a list of users? asked by Jennifer Suess

Hire a WordPress Expert?

Need a quick fix or minor tweak to your WordPress theme? Or a custom feature for your site? Connect with 430 handpicked WordPress experts with just a click!

Chat Now

Site Links

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

Courses

  • WordPress 101
  • WooCommerce
  • Beaver Builder
  • Ninja Forms
  • WP Rocket
  • Jetpack
  • Yoast SEO

Products

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

Connect with Us

  • Email
  • Facebook
  • Twitter
WP101 Membership Card

WordPress Tutorials by WP101© 2008-2021 WP101® LLC, Houston, TX. All rights reserved.
WP101® is a registered trademark with the U.S. Patent and Trademark Office.
Hosted by Nexcess
Privacy Policy | Terms of Use | Disclosure