Title: Flex Image Optimizer
Author: Flex Plugins
Published: <strong>2026 年 9 月 30 日</strong>
Last modified: 2026 年 9 月 30 日

---

搜索插件

![](https://ps.w.org/flex-image-optimizer/assets/banner-772x250.png?rev=3720812)

![](https://ps.w.org/flex-image-optimizer/assets/icon-256x256.png?rev=3720812)

# Flex Image Optimizer

 作者：[Flex Plugins](https://profiles.wordpress.org/flexfields/)

[下载](https://downloads.wordpress.org/plugin/flex-image-optimizer.1.0.1.zip)

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

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

## 描述

**Flex Image Optimizer** is part of the FLEX plugin suite from **FLEX LLC** (https://
flexible.am/). It keeps image work on your WordPress server. There is no compression
API, no CDN account, and no call home.

 * Bulk regenerate all thumbnail sizes, or only missing sizes
 * Generate WebP (and optional AVIF) copies next to JPEG/PNG files
 * Serve modern formats with a picture tag so JPEG/PNG remains the fallback
 * Allow SVG uploads with sanitization (scripts and unsafe markup removed)
 * Resize oversized originals, set JPEG/WebP quality, and strip GPS/EXIF
 * Skip unused registered sizes (including 1536×1536 / 2048×2048)
 * Media library column, row actions, bulk actions (up to 20), and WP-CLI

Admin CSS and JavaScript ship with the plugin. No remote stylesheets, no telemetry.

#### Privacy

Flex Image Optimizer does not send images or metadata to FLEX or any third-party
service. Processing uses the WordPress image editor (Imagick or GD) on this site.
Optional EXIF stripping is done on the server. SVG sanitization runs on upload before
the file is stored.

#### Limitations

 * WebP and AVIF require PHP/GD or Imagick built with those formats.
 * Animated GIF is not converted.
 * Picture-tag rewriting wraps `img` tags. CSS that requires `img` to be a direct
   child of another element may need a small adjustment.
 * SVG is treated like HTML: only trust roles you allow to upload it.
 * This is not a CDN, lazy-load extra, or offsite backup plugin.

## 屏幕截图

[⌊Tools — regenerate thumbnails and generate WebP/AVIF⌉⌊Tools — regenerate thumbnails
and generate WebP/AVIF⌉[

Tools — regenerate thumbnails and generate WebP/AVIF

[⌊Settings — compression, SVG, and sizes⌉⌊Settings — compression, SVG, and sizes⌉[

Settings — compression, SVG, and sizes

[⌊Usage — in-plugin guide⌉⌊Usage — in-plugin guide⌉[

Usage — in-plugin guide

## 安装

 1. Upload the `flex-image-optimizer` folder to `/wp-content/plugins/`, or install 
    the zip via **Plugins  Add New  Upload Plugin**.
 2. Activate **Flex Image Optimizer**.
 3. Open **Flex Images  Settings** and review WebP, SVG, and quality.
 4. Open **Tools** to generate WebP for the existing library or regenerate thumbnails.

## 常见问题

### Where are WebP files stored?

Next to the original, with an extra extension: `photo.jpg.webp`. Thumbnails follow
the same pattern. Deleting the media item removes those copies. Uninstalling the
plugin does not.

### Will visitors without WebP support see a broken image?

No. The original JPEG or PNG stays in the `img` tag. Supporting browsers pick WebP
or AVIF from the picture sources.

### Is SVG safe?

The plugin strips scripts, event handlers, foreignObject, and external URLs. That
is not a guarantee against every XML trick. Keep SVG limited to administrators unless
you trust the other roles.

### Can I regenerate one image?

Yes. In the media library, hover the row and use **Regenerate thumbnails** or **
Generate WebP**. Bulk actions handle up to 20 selected items.

### What happens when I uninstall?

Plugin settings are removed. Uploaded images and generated WebP/AVIF files stay 
in the uploads directory.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Flex Plugins ](https://profiles.wordpress.org/flexfields/)
 *   [ Flex Dev ](https://profiles.wordpress.org/hovoqoch/)

[帮助将「Flex Image Optimizer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/flex-image-optimizer)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.1

 * Remove the deprecated libxml entity loader call. SVG parsing still rejects entities
   and blocks network access.
 * Load image functions from image.php only.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/flex-image-optimizer/)
 * 标签
 * [compression](https://cn.wordpress.org/plugins/tags/compression/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [SVG](https://cn.wordpress.org/plugins/tags/svg/)[thumbnails](https://cn.wordpress.org/plugins/tags/thumbnails/)
   [webp](https://cn.wordpress.org/plugins/tags/webp/)
 *  [高级视图](https://cn.wordpress.org/plugins/flex-image-optimizer/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/flex-image-optimizer/reviews/#new-post)

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

## 贡献者

 *   [ Flex Plugins ](https://profiles.wordpress.org/flexfields/)
 *   [ Flex Dev ](https://profiles.wordpress.org/hovoqoch/)

## 支持

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

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