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.
  • 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.

评价

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!
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.
2022 年 12 月 20 日
Works perfectly. (Must regenerate all thumbnails)
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!
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条评价

贡献者及开发者

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

贡献者

「Modern Images WP」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Modern Images WP”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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