该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Image Dimensions Display

描述

Image Dimensions Display is a lightweight plugin that enhances the WordPress media library by adding a new column to display the following information for each image:

  • Image Dimensions: Displays the width and height of the image in pixels.
  • Aspect Ratio: Shows the aspect ratio of the image (e.g., 16:9, 4:3).
  • Recommended Size: Suggests the best size category (Thumbnail, Medium, Large) based on the WordPress media settings.

This plugin is especially useful for developers, designers, and content creators who need to manage images efficiently and ensure they meet specific size requirements.

Source Code

The source code for this plugin is available on GitHub: https://github.com/onlinewebgrow/image-dimensions-display

Privacy Policy

This plugin does not collect or store any personal data.

License

This plugin is licensed under the GPL v2 or later. See the GNU General Public License for more details.

屏幕截图

  • Media Library with Dimensions Column
    Displays the new “Dimensions” column in the media library, showing image dimensions, aspect ratio, and recommended size.

安装

  1. Download the plugin ZIP file.
  2. Go to your WordPress admin dashboard.
  3. Navigate to Plugins > Add New.
  4. Click Upload Plugin and select the downloaded ZIP file.
  5. Click Install Now and then Activate the plugin.

Once activated, the new “Dimensions” column will appear in the WordPress media library.

常见问题

Does this plugin work with all image types?

Yes, the plugin works with all image types supported by WordPress, including JPEG, PNG, and GIF.

Can I customize the recommended sizes?

The recommended sizes are based on the media settings configured in Settings > Media in your WordPress admin dashboard.

Does this plugin affect the front-end of my site?

No, this plugin only modifies the admin area of your WordPress site and does not affect the front-end.

评价

此插件暂无评价。

贡献者及开发者

「Image Dimensions Display」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.7

  • Fixed incorrect use of admin_head for styles, replaced with admin_enqueue_scripts.
  • Updated contributors list in the readme file.
  • Removed redundant parameters (Requires at least and Requires PHP) from the readme file.

1.0.6

  • Escaped all outputs for improved security.
  • Fixed minor bugs in the aspect ratio calculation.
  • Updated plugin description and documentation.

1.0.5

  • Added recommended size functionality based on WordPress media settings.
  • Improved aspect ratio calculation.

1.0.4

  • Initial release with image dimensions and aspect ratio display.