Title: Sali Media Optimizer
Author: Ghasali Muhammad Elba
Published: <strong>2026 年 8 月 21 日</strong>
Last modified: 2026 年 8 月 21 日

---

搜索插件

![](https://ps.w.org/sali-media-optimizer/assets/banner-772x250.png?rev=3660885)

![](https://ps.w.org/sali-media-optimizer/assets/icon-256x256.png?rev=3658481)

# Sali Media Optimizer

 作者：[Ghasali Muhammad Elba](https://profiles.wordpress.org/ghasali/)

[下载](https://downloads.wordpress.org/plugin/sali-media-optimizer.1.1.1.zip)

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

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

## 描述

Sali Media Optimizer is a lightweight, all-in-one media converter and compression
plugin. Acting as a high-performance WebP converter and WebM converter, it automatically
converts image uploads to WebP or AVIF, and video uploads to WebM. It reduces file
sizes by up to 80% with zero visible quality loss, optimizing your WordPress media
library for speed and SEO.

#### Key Features

 * **Automatic Conversion:** Converts newly uploaded images to WebP/AVIF and video
   uploads (MP4/MOV/AVI) to WebM.
 * **Auto-Resize on Upload:** Set maximum dimensions (e.g. 2048px) to automatically
   downscale huge camera images before compression.
 * **Performance Benchmark:** Diagnostic benchmark tool to measure local compression
   speeds of PHP GD, Imagick, and cloud fallback.
 * **CDN URL Rewriter:** Rewrite frontend asset domains to bunnycdn, cloudflare,
   or bunny.net.
 * **Smart HTML Fallback:** Rewrites HTML tags to use `<picture>` falling back to
   original JPG/PNG files on older browsers.
 * **Background WP-Cron Sync:** Bulk optimize your pre-existing media assets periodically
   in the background.

### External services

This plugin uses the reSmush.it external service for cloud-based image optimization
when local tools (GD or Imagick) are unavailable or disabled.

 * **Service Description:** reSmush.it is a free cloud image optimization service
   used here to compress and optimize images.
 * **Data Transmitted:** When local optimization fails or is not supported, the 
   plugin transmits the raw image file and compression quality setting to the reSmush.
   it API.
 * **Service Terms & Privacy:**
    - Service URL: [https://resmush.it](https://resmush.it)
    - Terms of Service: [https://resmush.it/terms](https://resmush.it/terms)
    - Privacy Policy: [https://resmush.it/privacy](https://resmush.it/privacy)

## 安装

 1. Upload the `sali-media-optimizer` folder to the `/wp-content/plugins/` directory,
    or search for “Sali Media Optimizer” in plugins screen and install.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to the “Sali Media” menu in your WordPress dashboard to configure the 
    settings.

## 常见问题

### Does it backup original files?

Yes, if enabled, the plugin keeps original uploads intact by adding a `.original`
suffix. You can restore them individually or in bulk at any time.

### What are the PHP requirements?

It requires PHP 7.4 or later and optionally PHP-GD, Imagick or FFmpeg extension 
on your server. If missing, it will automatically fallback to the cloud API.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Ghasali Muhammad Elba ](https://profiles.wordpress.org/ghasali/)

[帮助将「Sali Media Optimizer」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sali-media-optimizer)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

 * Added in-dashboard comprehensive English documentation.
 * Added SVG pipeline and CDN flow diagrams.

#### 1.1.0

 * Renamed sidebar menu to “Sali Media” for a cleaner fit.
 * Added settings and documentation submenu tabs.

#### 1.0.2

 * Implemented image resizing and CDN rewrite filters.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**4 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **7.1**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sali-media-optimizer/)
 * 标签
 * [image optimizer](https://cn.wordpress.org/plugins/tags/image-optimizer/)[video converter](https://cn.wordpress.org/plugins/tags/video-converter/)
   [webp converter](https://cn.wordpress.org/plugins/tags/webp-converter/)
 *  [高级视图](https://cn.wordpress.org/plugins/sali-media-optimizer/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Ghasali Muhammad Elba ](https://profiles.wordpress.org/ghasali/)

## 支持

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

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