
Image Sizes in Admin Dashboard
v2.0.0mansoormunib · 2013年11月7日 上架
Lists every registered image size — built-in and custom add_image_size() sizes — with width, height and crop mode in a Dashboard widget.
- 正在使用
- 10+
- 评分
- 5.0 / 5
- 累计下载
- 2,154
- 最近更新
- 2026年6月9日
2 条评价需要 WordPress 6.5+已测试到 7.0.9PHP 8.0+
贡献者
截图
Image Sizes in Admin Dashboard adds a read-only widget to the WordPress admin Dashboard that lists all currently registered image sizes.
Any size you register in your theme or plugin with add_image_size() is picked up automatically, alongside the built-in thumbnail, medium, medium_large and large sizes. Each row shows:
- The image size name (human readable)
- Width in pixels (— when unconstrained)
- Height in pixels (— when unconstrained)
- Crop mode (Cropped or Proportional)
This is handy when building a theme and you need a quick reference of the exact dimensions available to the_post_thumbnail() and the media library.
More detail on registering custom image sizes: https://developer.wordpress.org/reference/functions/add_image_size/
