Media Library File Size source code

By Sully, on WordPress.org since 2023. 6,000+ active installs.

Browse code Download zip

Improve your Media Library functionality by introducing new data that showcases the sizes of files, including collective variants. Below is its source code for every one of its 10 releases, what changed in the latest one, and how often it ships.

What changed in 1.7

Released Jun 21, 2026, 5 months after 1.6.8
  • Security fixes
  • Performance improvements
  • NEW: ‘Analyze’ feature. View the pie chart or tables to see which different types of attachments are using the most space. Manage them from a simple table.
  • NEW: Grid view now has Media Library totals as well as index buttons
  • NEW: When you edit an attachment, you can view it’s variants and see the total variant file size
  • NEW: When viewing an attachment in Grid mode, you can view it’s variants and see the total variant file size

7 files changed since 1.6.8: 4 modified, 3 added, 0 removed.

Compare 1.6.8 with 1.7

Release history

10 releases since May 2024
  1. 1.8.1 Dec 1, 2026
  2. 1.8 Oct 17, 2026
  3. 1.7 Jun 21, 2026 Security fixes
  4. 1.6.8 Jan 19, 2026 Tested up-to 6.9
  5. 1.6.7 Aug 10, 2025 WordPress ‘release’ loop fix
Full Media Library File Size changelog with diffs

Source of 1.7

9 files
Browse all Media Library File Size 1.7 files Browse trunk