Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

PBC Image Compress

Beskrivning

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

Installation

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

Vanliga frågor

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.

Recensioner

10 mars 2017
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.
27 december 2016
One of our galleries was taking over three minutes to load until we installed this plugin…. Went down to less than 3 seconds.
Läs alla 2 betyg

Bidragsgivare och utvecklare

”PBC Image Compress” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”PBC Image Compress” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.1

  • Initial Release