Title: Clevers Image Optimizer
Author: Clevers Dev
Published: <strong>2026 年 9 月 24 日</strong>
Last modified: 2026 年 9 月 24 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/clevers-image-optimizer.svg)

# Clevers Image Optimizer

 作者：[Clevers Dev](https://profiles.wordpress.org/cleversdev/)

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

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

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

## 描述

Clevers Image Optimizer optimizes local WordPress images and generates modern formats(`.
webp` and optional `.avif`).

Since version 0.3.0, processing runs in the background with queueing and batch/time
limits to avoid admin timeouts during large uploads.

#### Features

 * Local optimization of original JPG/PNG files.
 * WebP generation.
 * Optional AVIF generation.
 * `.htaccess` rules for transparent delivery.
 * Media Library bulk action to queue optimization jobs.
 * Background processing with configurable limits.

#### Composer/Vendor policy

This plugin uses Composer as the source of truth for dependencies.

 * Development/CI: install dependencies with `composer install`.
 * Release: the published ZIP includes `vendor/` for WordPress environments without
   Composer.

## 安装

 1. Upload the plugin to `/wp-content/plugins/clevers-image-optimizer` or install it
    from the release ZIP.
 2. Activate it in WordPress.
 3. Go to `Settings > Clevers Image Optimizer`.
 4. Configure WebP/AVIF quality and background processing limits.

## 常见问题

### How does background processing work?

New images and bulk actions are queued. A scheduled event processes the queue in
batches (`Batch size`) and respects a maximum runtime (`Time limit per run`).

### What if AVIF is not supported on my server?

The plugin shows capability status in settings. If `imageavif` is not available,
AVIF files are not generated.

### Do I need Composer in production?

No, if you use the official release ZIP. Composer is only needed for local development
and CI.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Clevers Dev ](https://profiles.wordpress.org/cleversdev/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.2

 * Compliance: Remove “Tested up to” from main PHP file (declared in readme.txt 
   only).
 * Scripts: Properly enqueue Media Library script with wp_enqueue_script() instead
   of inline script tags.
 * Prefixing: Update all functions, classes, options, hooks and constants to use
   unique prefix clevers_io_ (4+ characters).
 * Dependencies: Upgrade spatie/image-optimizer to latest version 1.10.0.
 * Activation: Remove wp_die() blocker on activation, moving requirement check to
   admin notices.

#### 1.0.1

 * Tested up to WordPress 7.1.
 * Code standards and plugin review preparations.

#### 0.3.0

 * Added: background optimization queue with batch/time limits.
 * Added: Media Library bulk action now queues jobs (non-blocking admin request).
 * Added: PHPUnit unit tests.
 * Added: CI workflow (lint + tests).
 * Changed: minimum requirements and admin sanitization/escaping hardening.
 * Changed: plugin bootstrap initialization.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**3 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/clevers-image-optimizer/)
 * 标签
 * [AVIF](https://cn.wordpress.org/plugins/tags/avif/)[image optimization](https://cn.wordpress.org/plugins/tags/image-optimization/)
   [media library](https://cn.wordpress.org/plugins/tags/media-library/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [webp](https://cn.wordpress.org/plugins/tags/webp/)
 *  [高级视图](https://cn.wordpress.org/plugins/clevers-image-optimizer/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Clevers Dev ](https://profiles.wordpress.org/cleversdev/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://clevers.dev)