描述
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.
屏幕截图
安装
Standard Installation Procedure
- Upload
media_file_sizes.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
评价
2022年6月7日
Perfect function, thank you!
2021年12月2日
Works with WP 5.8.2 - EXCELLENT thank you!!!!!!
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日
It does what it promises
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.
2017年2月8日
Open Notpad editor
Paste these two lines
upload_max_filesize = "512M"
post_max_size = "512M"
save is as php.ini
upload its on your root directory where WordPress install and also upload in wp-admin folder.
As well as you can increase your file size to whatever you want..
Examples
256 MB
upload_max_filesize = "256M"
post_max_size = "256M"
1-GB
upload_max_filesize = "1024M"
post_max_size = "1024M"
10 GB
upload_max_filesize = "10240M"
post_max_size = "10240M"
i am using WordPress 4.1 same formula I use from last 2 years
Thanks
Umair
www.eBusiness.pk
http://facebook.com/umairulhaqusmani
http://facebook.com/ebusinessexperts
贡献者及开发者
“Media File Sizes” 是开源软件。 以下人员对此插件做出了贡献。
贡献者更新日志
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