Title: Modern Images WP
Author: Adam Silverstein
Published: <strong>2021 年 7 月 1 日</strong>
Last modified: 2023 年 10 月 27 日

---

搜索插件

![](https://ps.w.org/modern-images-wp/assets/banner-772x250.png?rev=2557245)

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

![](https://ps.w.org/modern-images-wp/assets/icon-256x256.png?rev=2557245)

# Modern Images WP

 作者：[Adam Silverstein](https://profiles.wordpress.org/adamsilverstein/)

[下载](https://downloads.wordpress.org/plugin/modern-images-wp.1.2.0.zip)

 * [详情](https://cn.wordpress.org/plugins/modern-images-wp/#description)
 * [评价](https://cn.wordpress.org/plugins/modern-images-wp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/modern-images-wp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/modern-images-wp/#developers)

 [支持](https://wordpress.org/support/plugin/modern-images-wp/)

## 描述

Specify the default image format used for sub-sized images generated by WordPress.

### Technical Notes

 * Requires PHP 5.6+.
 * Requires WordPress 5.8+.
 * Issues and Pull requests welcome on the GitHub repository: https://github.com/
   adamsilverstein/wordpress-modern-images.

## 屏幕截图

[⌊Modern image output format options on Settings > Media admin page.⌉⌊Modern image
output format options on Settings > Media admin page.⌉[

Modern image output format options on `Settings` > `Media` admin page.

[⌊Image format options available for various image types.⌉⌊Image format options 
available for various image types.⌉[

Image format options available for various image types.

## 安装

 1. Install the plugin via the plugin installer, either by searching for it or uploading
    a .zip file.
 2. Activate the plugin.
 3. Select an output image format under Settings->Media.

## 评价

![](https://secure.gravatar.com/avatar/070ee7523afad5644676099dea2aa5861c08fbf333f5863196fa24bdf8a2da95?
s=60&d=retro&r=g)

### 󠀁[Original Source cant be opened in Lightboxes](https://wordpress.org/support/topic/original-source-cant-be-opened-in-lightboxes/)󠁿

 [igitt23](https://profiles.wordpress.org/igitt23/) 2023 年 12 月 29 日

Hi there, Great Plugin so far! All images for newly uploaded images are in WebP 
now. That works great!But i run in a little Problem:The images cant be open in a
lightbox.I upload a image in PNGThe frontend now shows all kind of sizes in the 
frontend in WebP.But when i click at the image to open it in a lightbox, it tries
to open the original File with a wepb fileextension, wich does not exist. Do you
have any fix for that? If i cant open the images in a lightbox this plugin wont 
help a lot 🙁 I get an 404 in the dev console after clicking on the image for a 
lightbox view Thanks for your support!

![](https://secure.gravatar.com/avatar/295394aed1bab38e59adfe9ab0b49af466ef111e036c506e780437880dc8cf0d?
s=60&d=retro&r=g)

### 󠀁[AVIF not supported](https://wordpress.org/support/topic/avif-not-supported/)󠁿

 [Hans Konings](https://profiles.wordpress.org/kamawp/) 2023 年 2 月 1 日

I removed the plugin as soon as I saw the AVIF option greyed out. I might try this
plugin again once AVIF is supported.

![](https://secure.gravatar.com/avatar/3525be347cf526138b5c1ff2d75f01cdd9ded44a9bd84892a09001f861625786?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-15128/)󠁿

 [cptkoolbeenz](https://profiles.wordpress.org/cptkoolbeenz/) 2022 年 12 月 20 日

Works perfectly. (Must regenerate all thumbnails)

![](https://secure.gravatar.com/avatar/159cb9b0acafa4b43fb10543f4a72b5cc446fd6a660cae02f8de98348199aab5?
s=60&d=retro&r=g)

### 󠀁[work fine and simple of usage](https://wordpress.org/support/topic/work-fine-and-simple-of-usage/)󠁿

 [alama32](https://profiles.wordpress.org/alama32/) 2022 年 3 月 20 日

work fine and simple of usage, it's a shame for not AVIF compression..

![](https://secure.gravatar.com/avatar/228765d203a598eb822a543e210b8e72f74a952182236db99a68cc441cbd7e98?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-8130/)󠁿

 [Alexander S. Kunz](https://profiles.wordpress.org/antermoia/) 2022 年 6 月 23 
日

I am very glad that I can keep the countless image sizes that WordPress itself and
all the various plugins that I'm using require more efficiently stored on my server
and delivered faster to my visitors. This plugin works great and this functionality
should be built into the WordPress core!

![](https://secure.gravatar.com/avatar/d5ba953cae909093a6c147310a7c9b12a6dfead5766d8a7a7db812506ed6f246?
s=60&d=retro&r=g)

### 󠀁[some problems](https://wordpress.org/support/topic/some-problems-47/)󠁿

 [walter2](https://profiles.wordpress.org/walter2/) 2022 年 2 月 10 日 2 回复

First, it works but. i sell photo's. and clients can download a small image for 
free with my logo in it. (jpg). now there is no logo, and all photos on my site 
are full size and free off charge to download. i did disable the plugin and its 
back to normal. No idea where to look for it where it go's wrong

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/modern-images-wp/reviews/)

## 贡献者及开发者

「Modern Images WP」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)
 *   [ Google ](https://profiles.wordpress.org/google/)

「Modern Images WP」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/modern-images-wp/contributors)
为本插件所做的贡献。

[帮助将「Modern Images WP」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/modern-images-wp)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.0

 * Tested up to 6.4.

#### 1.1.0

 * Correct support for AVIF & JPEGXL with `mime_types` filter.
 * Add `wp-env` support. To test the plugin with `wp-env` which currently supports
   AVIF, use `npm install -g @wordpress/env && wp-env start`.

#### 1.0.4

 * Tested up to 6.1.

#### 1.0.3

 * Check correct image engine for mime type format support when multiple engines
   are available.

#### 1.0.0

 * Initial plugin release

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**3 年前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.4.13**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/modern-images-wp/) 、 [Danish](https://da.wordpress.org/plugins/modern-images-wp/)、
   [English (US)](https://wordpress.org/plugins/modern-images-wp/) 、 [Russian](https://ru.wordpress.org/plugins/modern-images-wp/)
   和 [Ukrainian](https://uk.wordpress.org/plugins/modern-images-wp/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/modern-images-wp)
 * 标签
 * [AVIF](https://cn.wordpress.org/plugins/tags/avif/)[jpegxl](https://cn.wordpress.org/plugins/tags/jpegxl/)
   [webp](https://cn.wordpress.org/plugins/tags/webp/)
 *  [高级视图](https://cn.wordpress.org/plugins/modern-images-wp/advanced/)

## 评级

 4.3 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/modern-images-wp/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/modern-images-wp/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/modern-images-wp/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/modern-images-wp/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/modern-images-wp/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/modern-images-wp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/modern-images-wp/reviews/)

## 贡献者

 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)
 *   [ Google ](https://profiles.wordpress.org/google/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/modern-images-wp/)