Title: Image Display Control
Author: Aurelien Lourot
Published: <strong>2022 年 11 月 5 日</strong>
Last modified: 2023 年 6 月 28 日

---

搜索插件

![](https://ps.w.org/image-display-control/assets/banner-772x250.png?rev=2855262)

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

![](https://ps.w.org/image-display-control/assets/icon-256x256.png?rev=2812662)

# Image Display Control

 作者：[Aurelien Lourot](https://profiles.wordpress.org/lourot/)

[下载](https://downloads.wordpress.org/plugin/image-display-control.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/image-display-control/#description)
 * [评价](https://cn.wordpress.org/plugins/image-display-control/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/image-display-control/#developers)

 [支持](https://wordpress.org/support/plugin/image-display-control/)

## 描述

An image file (e.g. JPEG, PNG) contains metadata, i.e. information about the image,
e.g. which camera model was used, when the picture has been taken or various image
regions. Image regions are useful for describing specific areas of the image (e.
g. objects, people) or for indicating how the image should be cropped or rotated
to best fit a given container.

This WordPress plugin reads such image regions in order to automatically crop images
the best possible way, depending on which container they are being displayed in.

The [Frameright app](https://frameright.app/) can be used to define such image regions
and insert them in the metadata of a picture.

#### How does it work?

When rendering a post or a page, the plugin looks for images that have image region
metadata and replaces them with a web component automatically zooming on the best
suited image region, effectively doing better than a classical middle-crop.

### Credits

This plugin is based on [Frameright/php-image-metadata-parser](https://github.com/Frameright/php-image-metadata-parser),
a fork of [dchesterton/image](https://github.com/dchesterton/image), an image metadata
parsing library. Many thanks to [dchesterton](https://github.com/dchesterton)!

## 常见问题

### I have an issue or I want to contribute code

Please use the [GitHub repository](https://github.com/Frameright/image-display-control-wordpress)
to raise [issues](https://github.com/Frameright/image-display-control-wordpress/issues)
about the plugin or submit pull requests.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Aurelien Lourot ](https://profiles.wordpress.org/lourot/)
 *   [ Ilkka Järstä ](https://profiles.wordpress.org/jarsta/)

[帮助将「Image Display Control」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/image-display-control)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/image-display-control/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/image-display-control/)，或通过[RSS](https://plugins.trac.wordpress.org/log/image-display-control/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/image-display-control/)。

## 更新日志

#### 1.0.0 (2023-06-28)

 * Moved documentation to https://docs.frameright.io/wordpress

#### 0.1.2 (2023-04-03)

 * Marked as validated with WordPress 6.2.

#### 0.1.1 (2023-03-07)

 * Added tutorial video.

#### 0.1.0 (2023-03-07)

 * Fixed web component sometimes not initializing properly.
 * Added support for older browsers. See [here](https://docs.frameright.io/web-component/browsers)
   for more details.
 * Improved resolution of images having an `srcset=` HTML attribute when zooming
   in on a region.
 * Now forcing the web component to select a region and zoom in on it, instead of
   rendering the full original image.
 * Fixed crash when uploading non-image files.
 * Fixed crash when uploading damaged images.
 * Fixed several bugs that were happening with some specific themes, like the plugin
   doing nothing or the image regions being wrong.
 * Stopped generating hardcrops in the media library.

#### 0.0.5 (2023-01-26)

 * Switched to rendering a [web component](https://docs.frameright.io/web-component)
   on the front-end.

#### 0.0.4 (2022-11-05)

 * Improved documentation.

#### 0.0.3 (2022-11-03)

 * Renamed software components to avoid name clashes with other plugins.

#### 0.0.2 (2022-10-31)

 * Improved algorithm for automatically selecting the best hardcrop.

#### 0.0.1 (2022-10-27)

 * Initial Release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.1 或更高版本 **
 *  已测试的最高版本为 **6.2.9**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/image-display-control/)
 * 标签
 * [crop](https://cn.wordpress.org/plugins/tags/crop/)[cropping](https://cn.wordpress.org/plugins/tags/cropping/)
   [image](https://cn.wordpress.org/plugins/tags/image/)[image crop](https://cn.wordpress.org/plugins/tags/image-crop/)
   [image quality](https://cn.wordpress.org/plugins/tags/image-quality/)
 *  [高级视图](https://cn.wordpress.org/plugins/image-display-control/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/image-display-control/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/image-display-control/reviews/)

## 贡献者

 *   [ Aurelien Lourot ](https://profiles.wordpress.org/lourot/)
 *   [ Ilkka Järstä ](https://profiles.wordpress.org/jarsta/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/image-display-control/)