Title: Media File Sizes
Author: Jason LeMahieu (MadtownLems)
Published: <strong>November 3, 2010</strong>
Last modified: March 24, 2021

---

Search plugins

![](https://ps.w.org/media-file-sizes/assets/banner-772x250.jpg?rev=739901)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/media-file-sizes_57a2cc.svg)

# Media File Sizes

 By [Jason LeMahieu (MadtownLems)](https://profiles.wordpress.org/madtownlems/)

[Download](https://downloads.wordpress.org/plugin/media-file-sizes.zip)

 * [Details](https://wordpress.org/plugins/media-file-sizes/#description)
 * [Reviews](https://wordpress.org/plugins/media-file-sizes/#reviews)
 *  [Installation](https://wordpress.org/plugins/media-file-sizes/#installation)
 * [Development](https://wordpress.org/plugins/media-file-sizes/#developers)

 [Support](https://wordpress.org/support/plugin/media-file-sizes/)

## Description

This plugin adds a column to the Media Library page that displays the total space
used by each media item. For images, this includes the original image as well as
any other generated sizes.

This plugin is particularly handy for networks where site owners have a limited 
space quota.

Additionally, sorting your Media Library by file size is actually a great way to
identify duplicate media items.

## Screenshots

 * [[
 * A sortable column is added to the Media Library which displays the total space
   used by this media item (including generated sizes for image files). If a quota
   is in effect, a color-coded percentage is displayed, based on what percent of
   the quota this media item is using.

## Installation

Standard Installation Procedure

 1. Upload `media_file_sizes.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Contributors & Developers

“Media File Sizes” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Jason LeMahieu (MadtownLems) ](https://profiles.wordpress.org/madtownlems/)
 *   [ University of Wisconsin – Cooperative Extension ](https://profiles.wordpress.org/cets/)

[Translate “Media File Sizes” into your language.](https://translate.wordpress.org/projects/wp-plugins/media-file-sizes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/media-file-sizes/),
check out the [SVN repository](https://plugins.svn.wordpress.org/media-file-sizes/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/media-file-sizes/)
by [RSS](https://plugins.trac.wordpress.org/log/media-file-sizes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.8

 * Very minor update to check for variable existence which displayed notices with
   WP_Debug on

#### 1.7

 * Add support for properly sizing audio/video files in 3.6+

#### 1.6

 * Added MB display for files with size 1 MB or greater (Thanks for the idea, carry2web.)

#### 1.5

 * Resolved minor issue with refreshing cached metada on plugin upgrade

#### 1.2

 * Simplified code and did some performance tweaks. Now works on more hosting configurations(
   in theory)

#### 1.1.1

 * Translate column heading in Media Library

#### 1.1

 * Color coded percentage displays based on how much of quota the item takes up
 * Now caches mediafilesize as metadata
 * Allows column sorting in WordPress versions 3.1+

#### 1.0.2

 * Fixed a bug in single site installs (thanks for pointing thisout, fwchapman!)

#### 1.0.1

 * Added percent display when media item takes up over 1% of total space

#### 1.0

 * Initial Release

## Meta

 *  Version **1.8**
 *  Last updated **5 years ago**
 *  Active installations **1,000+**
 *  WordPress version ** 2.8.6 or higher **
 *  Tested up to **5.7.15**
 * Tags
 * [files](https://wordpress.org/plugins/tags/files/)[media](https://wordpress.org/plugins/tags/media/)
   [quota](https://wordpress.org/plugins/tags/quota/)
 *  [Advanced View](https://wordpress.org/plugins/media-file-sizes/advanced/)

## Ratings

 4.1 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/media-file-sizes/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/media-file-sizes/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/media-file-sizes/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/media-file-sizes/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/media-file-sizes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/media-file-sizes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/media-file-sizes/reviews/)

## Contributors

 *   [ Jason LeMahieu (MadtownLems) ](https://profiles.wordpress.org/madtownlems/)
 *   [ University of Wisconsin – Cooperative Extension ](https://profiles.wordpress.org/cets/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/media-file-sizes/)