Title: Pressundo Image Optimizer
Author: pressundo
Published: <strong>2026 年 10 月 14 日</strong>
Last modified: 2026 年 10 月 14 日

---

搜索插件

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

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

# Pressundo Image Optimizer

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

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

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

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

## 描述

Pressundo Image Optimizer optimizes WordPress Media Library images locally on your
server. It can compress JPEG/PNG files, generate WebP and AVIF variants, improve
responsive image delivery, add missing intrinsic dimensions, and manage image loading
behavior without requiring a remote image CDN.

Its focus is local, performance-aware image delivery rather than cloud-only compression:
eligible large decorative images can use adaptive AVIF quality with a visual-similarity
guard, while the optional PageSpeed workflow can identify LCP images and use stored
analysis to improve priority/preload decisions.

Main features:

 * Local image optimization with WordPress image editors.
 * Optional Sharp + libvips support when Sharp is provisioned by the server administrator.
 * WebP and AVIF generation.
 * Adaptive AVIF compression for eligible large decorative images, with a visual
   similarity guard.
 * Responsive `srcset` and `sizes` enhancement for local Media Library images.
 * Optional `<picture>` delivery with modern formats and original fallback.
 * Optional optimization of inline CSS background images through `image-set()`.
 * Automatic width and height attributes for supported local raster images when 
   dimensions are missing.
 * Native lazy loading management with protection for priority images.
 * Original-image backups and per-image restore.
 * Bulk optimization and targeted re-optimization.
 * WP-CLI commands for optimization and diagnostics.
 * Optional PageSpeed Insights integration for LCP image detection and preload selection.

The plugin does not download or install executable dependencies. If Sharp is not
available on the server, it automatically falls back to the WordPress image editor
stack (Imagick/GD when supported).

### External services

This plugin can optionally use the Google PageSpeed Insights API to analyze Largest
Contentful Paint (LCP). This integration is disabled by default and requires explicit
activation in the plugin settings.

When enabled and an analysis is started, the plugin sends the analyzed page URL,
the selected strategy (`mobile` or `desktop`), the performance category, the locale,
and an optional API key to Google PageSpeed Insights. No PageSpeed request is made
from the public frontend. Stored analysis results are kept in the local WordPress
database and reused for frontend preload decisions.

Service: Google PageSpeed Insights API
 https://developers.google.com/speed/docs/
insights/v5/get-started

Google APIs Terms of Service:
 https://developers.google.com/terms

Google Privacy Policy:
 https://policies.google.com/privacy

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP from Plugins
    > Add New.
 2. Activate Pressundo Image Optimizer.
 3. Open Image Optimizer > Settings and review the compression and delivery options.
 4. Run a test on a small set of images before processing the complete Media Library.
 5. If you want to use Sharp + libvips, provision Sharp on the server in the runtime
    path shown by the plugin. The plugin itself does not download or install Sharp.
 6. If you want PageSpeed/LCP analysis, explicitly enable Google PageSpeed Insights
    in the settings first.

## 常见问题

### Does the plugin require a cloud image service?

No. Image optimization and format generation are performed locally on the WordPress
server.

### Does the plugin install Sharp automatically?

No. For WordPress.org compliance and server security, the plugin does not download
or execute installer code from third parties. Sharp can be provisioned by the server
administrator. Without Sharp, supported WordPress image editors are used automatically.

### Does the plugin contact Google automatically?

No. Google PageSpeed Insights integration is disabled by default. It must be explicitly
enabled before PageSpeed analysis or background LCP processing can contact Google.

### Are original images backed up?

Backups can be enabled in the plugin settings. When enabled, originals are stored
under the WordPress uploads directory so they can survive plugin updates.

### Does it work with custom theme image markup?

Yes. WordPress-native image hooks remain available on supported versions. On WordPress
6.9 and newer, the optional full-document compatibility pass uses the core template
enhancement output buffer for local Media Library images rendered directly by themes,
menus, headers, footers, and custom templates. The plugin does not open its own 
global output buffer.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.2

 * Initial public release on WordPress.org.
 * Local JPEG/PNG optimization with WebP and AVIF generation.
 * Adaptive AVIF compression with visual-quality safeguards.
 * Responsive image delivery, intrinsic dimensions, backups and restore.
 * Bulk processing, WP-CLI diagnostics, and optional PageSpeed/LCP-aware optimization.
 * Pressundo-branded internal namespace and WordPress.org-ready packaging.

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**5 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/pressundo-image-optimizer/)
 * 标签
 * [AVIF](https://cn.wordpress.org/plugins/tags/avif/)[image optimization](https://cn.wordpress.org/plugins/tags/image-optimization/)
   [lcp](https://cn.wordpress.org/plugins/tags/lcp/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [webp](https://cn.wordpress.org/plugins/tags/webp/)
 *  [高级视图](https://cn.wordpress.org/plugins/pressundo-image-optimizer/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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