這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Media File Sizes

外掛說明

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.

螢幕擷圖

  • 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.

安裝方式

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

使用者評論

2024 年 3 月 6 日
Just what I needed to show a client where and why those HUGE Media files are the reason the hostingaccount needed an upgrade.
2018 年 4 月 20 日
I REALLY needed this, to be able to identify the largest images, and I'm glad to see it still works in April of 2018
2016 年 9 月 3 日
I would prefer just one file size to be shown initially as two or three different ones are perhaps just confusing for my client, and could equally be shown on hover or something like that. Very useful and simple. does what it says on the tin.
閱讀全部 16 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Media File Sizes〉的開發相關工作。

參與者

將〈Media File Sizes〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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