Title: ImOptimizer &#8211; Optimize Images
Author: BabaPinnak
Published: <strong>2026 年 1 月 28 日</strong>
Last modified: 2026 年 4 月 1 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/bp-imoptimizer-optimize-images.svg)

# ImOptimizer – Optimize Images

 作者：[BabaPinnak](https://profiles.wordpress.org/babapinnak/)

[下载](https://downloads.wordpress.org/plugin/bp-imoptimizer-optimize-images.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/bp-imoptimizer-optimize-images/)

## 描述

**ImOptimizer – Optimize Images** is a safe, lightweight way to serve next-gen images
on WordPress by converting uploads to WebP.

Most optimization plugins either rely on external APIs or risk server crashes by
processing images without checking memory limits. **ImOptimizer runs fully on your
server** using the native PHP GD library and includes a **Smart Memory Guard** that
estimates RAM usage before converting—helping prevent memory exhaustion.

### 🚀 Why ImOptimizer?

 * **Boost Core Web Vitals:** WebP images reduce page weight and speed up loading.
 * **Zero API Fees:** No subscriptions, no credits, no data sharing. Runs locally.
 * **Server Safety First:** Skips risky conversions on low memory and detects conflicts(
   Smush/EWWW/ShortPixel, etc.).
 * **Set & Forget:** Auto-converts JPG/JPEG/PNG at upload time.

### ⚡ Feature Highlights

 * **Smart Conversion:** Converts the main image AND generated thumbnails (Media
   Library, WooCommerce, etc.).
 * **Self-Cleaning Logs:** Optional logging with retention cleanup (Cron).
 * **MIME Sync:** Updates WordPress metadata so `.webp` is recognized correctly.
 * **Privacy Focused:** Your images never leave your server.

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/bp-imoptimizer-optimize-images/`.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Settings > ImOptimizer**.
 4. Save your preferences. (Default: Quality 85, Logging Disabled).

## 常见问题

### Does this convert my existing media library?

No. The plugin processes **new uploads only**.

### What image formats does this plugin convert?

It supports **JPG, JPEG, and PNG** images (converted to WebP).

### Can I delete the original images after conversion?

Yes. Enable **Delete Original Image** in settings.

### Will this work if I don’t have an API key?

Yes. No APIs are used. The plugin relies on your server’s GD library.

### What happens if the uploaded file is too large?

Images larger than **15MB** are skipped for stability (and logged if logging is 
enabled).

### Where are the conversion logs saved?

Logs are stored in a secure folder:
 /wp-content/uploads/bp-imoptimizer-logs/ In
Multisite, logs are stored per site: /wp-content/uploads/bp-imoptimizer-logs-{blog_id}/

### What happens if I uninstall the plugin?

Your existing WebP images remain on disk and continue to work. The plugin settings/
transients and log folders are removed on uninstall.

### Does this work on WordPress Multisite?

Yes. Each site gets its own isolated log folder.

### Why are my images not converting?

 1. Ensure GD supports WebP (`imagewebp` must exist).
 2. Enable logging and review logs.
 3. Disable conflicting optimizer plugins (Smush/EWWW/ShortPixel/Imagify, etc.).
 4. Check memory limits (the plugin skips conversions if estimated usage is too high).

### Can I rename the plugin folder?

**No.** Keep the folder name as:
 bp-imoptimizer-optimize-images This helps ensure
updates, references, and translations remain consistent.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ BabaPinnak ](https://profiles.wordpress.org/babapinnak/)

[帮助将「ImOptimizer – Optimize Images」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bp-imoptimizer-optimize-images)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Initial release.
 * Smart Memory Guard to prevent memory crashes.
 * Optional logging + scheduled log cleanup.
 * Conflict detection for popular optimizer plugins.
 * Secure log directory with access protection and traversal safety checks.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/bp-imoptimizer-optimize-images/)
 * 标签
 * [compression](https://cn.wordpress.org/plugins/tags/compression/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [optimization](https://cn.wordpress.org/plugins/tags/optimization/)[webp](https://cn.wordpress.org/plugins/tags/webp/)
 *  [高级视图](https://cn.wordpress.org/plugins/bp-imoptimizer-optimize-images/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/bp-imoptimizer-optimize-images/reviews/#new-post)

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

## 贡献者

 *   [ BabaPinnak ](https://profiles.wordpress.org/babapinnak/)

## 支持

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

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