跳到内容

Image Sizes in Admin Dashboard

v2.0.0

mansoormunib · 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+

贡献者

截图

The Image Sizes widget on the admin Dashboard.
The Image Sizes widget on the admin Dashboard.

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/

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums