Cotton Rohrscheib

The Cotton Club Blog & Podcast

  • Home
  • About
    • Entrepreneurial Journey
  • Blog
    • Faith & Family
    • Marketing & Tech
    • Farm & Business
    • Entertainment
    • Health & Wellness
    • Urban Farming
    • Weekend Projects
  • Podcast
  • Newsletter
  • Media
    • Photo Galleries
    • Video Archives
  • Marketplace
    • Buying Gold & Silver
    • Accoutrements
      • Bags & Briefcases
      • Notebooks
      • Personal Carry
      • Wallets
    • Poshmark
    • Artwork
    • Banknotes & Currency
      • Currency
      • Gold Banknotes
      • Silver Certificates
    • Rare Books
    • Rare Coins
      • Coin Sets
      • Individual Coins
    • Signs & Advertising
    • Stock Certificates
    • Trading Cards
      • Trading Cards: Autographs
      • Trading Cards: Base
      • Trading Cards: Graded
      • Trading Cards: Raw
      • Trading Cards: Pokémon
      • Trading Cards: Sets
    • Vintage Toys
      • Buddy L
      • Ertl Farm Toys
      • GI Joe
      • Masters of the Universe
      • Hot Wheels
      • Lionel Trains
      • Lunch Boxes
      • Marx Toys
      • NASCAR Die-Cast
      • Schleich Toys
      • Star Wars
      • Tonka Trucks
  • Connect
You are here: Home / Marketing & Tech / Cleanup Unused Images in Wordpress

Cleanup Unused Images in WordPress

November 13, 2013 by Cotton Rohrscheib 1 Comment

wordpress-pluginsI have several real estate clients that we have developed Real Estate CMS solutions for on WordPress, I’m a huge fan of Agentpress, but there’s always been one issue about using WordPress for Real Estate content management that has bothered me. Let’s say an agent posts a listing on his website and sells it a few months later. Granted he’s going to eventually pull that listing down from his website by essentially deleting that post correct? Have you ever stopped to think about what happens to the 20 or so images that were attached to that post?

Long story short, while the post may be gone from the database, the image files continue to live and take up space in your wp-content/uploads/ directory. Now, hopefully you have your uploads setup to organize by month (which makes it easy to look at time stamps and delete old image files –keep in mind this approach isn’t advised because there’s a good chance you can remove images that are still tied to listings this way). Again, this hasn’t been a huge nuisance, I spend about 20 minutes or so each month purging image files for my clients, but this evening I found a really cool plugin called: Cleanup Images that helps in deciding which images in the Media Library you want to delete and then deleting them from both the DB and the directory if you decide to do so. This plugin will search the database for all images in the Media Library and determine whether or not they are in use. They will then be listed. If not used, you will be able to select them in order to delete them.

 

Filed Under: Marketing & Tech Tagged With: Real Estate CMS, Wordpress™ Plugins

About Cotton Rohrscheib

The Cotton Club is a monthly podcast hosted by me, Cotton Rohrscheib. I'm a 52 year old entrepreneur w/ ADHD, OCD (and now AARP) that refuses to grow up as I grow old. I have collaborated and invested in hundreds of projects throughout my career in multiple industries such as; technology, healthcare, and agriculture. I also have 25 years experience in the marketing industry as a co-founder of an award-winning advertising agency. I will undoubtedly cover a wide variety of topics on my podcast while sharing some really crazy stories and situations that I've been fortunate to witness firsthand. I also have a book coming out in 2025 titled, "Mistakes were Made"

Comments

  1. Линия Здоровья says

    May 6, 2014 at 7:44 am

    Best plugin Cleanup Images wordpress

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

  • Email
  • Facebook
  • Instagram
  • LinkedIn
  • Twitter

Recent Updates

  • Ep034: Cotton Rohrscheib & Tim Volberding
  • I Stay on Track w/ Reminders & Task Lists
  • It’s a Really Dry Start to the Season…
  • Trading Card Grading Services
  • Products Being Added…

Blog Categories

  • Blog (439)
  • Entertainment (378)
  • Faith & Family (155)
  • Farm & Business (302)
  • Health & Wellness (38)
  • Marketing & Tech (591)
  • Podcasts (33)
  • Urban Farming (24)
  • Weekend Projects (9)

Blog Archives

Join the Cotton Club!

 

Content Copyright © 2000-2026
Cotton Rohrscheib | Rohrscheib Capital
Disclaimer | Privacy Policy | Account Manager | View Cart

All opinions expressed on this website are 100% Cotton (see my disclaimer). All content, including text, images, and media, are the intellectual property of Rohrscheib Capital unless otherwise noted. To learn how we use your private information, checkout our privacy policy.