该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PBC Image Compress

描述

Performs lossless compression on Jpeg, PNG & Gif Images using JpegOptim, OpimPNG & Gifsicle

Requirements

  • Installed on Server
    • JpegOptim
    • Gifsicle
    • OptimPNG
  • PHP setup
    • Access to exec() function

Important

This will not compress images already in your Media Library! It will only work on newly uploaded images.

Upcoming/Roadmap

  • More PNG Compression Options
  • MozJpeg Compression
  • WP CLI tool
  • Support for compressing images made by Timber
  • Compress on Demand
  • Filterable locations for locating the tools
  • Improve the Tool Loader to use less RAM
  • Internationalisation
  • Include required Binaries with the Plugin

安装

From Github
https://github.com/pbc-web/WP-Image-Compress
Clone the directory into your mu-plugins. The plugin will be active automatically and start compressing new images as they are uploaded.

From WordPress.org

  1. Upload pbc-image-compress.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Why Doesn’t this plugin Work For Me?

You probably don’t have the needed ImageCompression Libraries installed on your server. If you have access to your server they are quite easy to install. if you are on a shared host then please ask your webhost to install them

What about foo bar?

Answer to foo bar dilemma.

评价

2017 年 3 月 10 日
Plugin is incomplete, sends all file types to jpegoptim rather than the correct respective tool. Requires you to install composer packages but no composer.json included. If you get past those two problems, there is an infinite loop.
2016 年 12 月 27 日
One of our galleries was taking over three minutes to load until we installed this plugin.... Went down to less than 3 seconds.
阅读所有2条评价

贡献者及开发者

“PBC Image Compress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“PBC Image Compress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

  • Initial Release