Provider Settings
Configure Media Cloud's built-in image optimizer with Kraken.io, ShortPixel, Imagify or TinyPNG.
Media Cloud’s built-in image optimizer sends uploaded images to an optimization service before they are transferred to cloud storage. It requires the Pro version of Media Cloud and Cloud Storage.
The optimizer is not available while Imgix is enabled. Disable Imgix if you want to use Media Cloud’s optimizer.
Choosing a provider
| Provider | Credentials | Compression control |
|---|---|---|
| Kraken.io | API Key + API Secret | Lossy, lossy quality, chroma subsampling |
| ShortPixel | API Key | Lossy, Glossy, Lossless |
| Imagify | Access Token | Lossless, Aggressive, Ultra |
| TinyPNG | API Key | Lossless only |
Find your credentials here:
- Kraken.io: API Dashboard
- ShortPixel: Account
- Imagify: API settings
- TinyPNG: API dashboard
Common settings
| Setting | Description |
|---|---|
| Upload Image | Upload the image to the service instead of sending it a URL. Required when the site is not publicly accessible. |
| Optimize in Background | Queue optimization as a background task. Cloud upload waits until optimization finishes. |
| Background Only When Using the Media Library | Run optimization in the background only for uploads started from the Media Library. |
| Optimize Original Image | Also optimize the unscaled original when WordPress creates a big-image copy. |
| Lossy Compression | Compression mode. Options vary by provider. |
| Keep EXIF Data | Preserve EXIF metadata. Some providers expose individual fields instead. |
The Optimize in Background setting is the most important one for upload speed. When it is enabled, an upload may appear to be missing from cloud storage until the optimizer finishes and the transfer runs.
Kraken.io settings
| Setting | Description |
|---|---|
| API Key | Kraken API key. |
| API Secret | Kraken API secret. |
| Upload Image | Upload the file instead of using a URL. |
| Optimize in Background | Queue optimization. |
| Background Only When Using the Media Library | Limit background mode to Media Library uploads. |
| Optimize Original Image | Optimize the big-image original. |
| Lossy Compression | Enable lossy compression. |
| Lossy Quality | 0 lets Kraken choose the intelligent lossy quality. |
| Chroma Subsampling | 4:2:0 (best compression), 4:2:2, or 4:4:4 (highest quality). |
| Preserve ICC Profile / Date / Copyright / Location / Orientation | Keep individual EXIF fields. |
ShortPixel settings
| Setting | Description |
|---|---|
| API Key | ShortPixel API key. |
| Upload Image | Upload the file instead of using a URL. |
| Optimize in Background | Queue optimization. |
| Background Only When Using the Media Library | Limit background mode to Media Library uploads. |
| Optimize Original Image | Optimize the big-image original. |
| Lossy Compression | Lossy (best savings), Glossy (near-original quality), or Lossless. |
| Keep EXIF Data | Preserve all EXIF data. |
Imagify settings
| Setting | Description |
|---|---|
| Access Token | Imagify API access token. |
| Optimize in Background | Queue optimization. |
| Background Only When Using the Media Library | Limit background mode to Media Library uploads. |
| Optimize Original Image | Optimize the big-image original. |
| Lossy Compression | Lossless, Aggressive, or Ultra. |
| Keep EXIF Data | Preserve all EXIF data. |
TinyPNG settings
| Setting | Description |
|---|---|
| API Key | TinyPNG API key. |
| Upload Image | Upload the file instead of using a URL. |
| Optimize in Background | Queue optimization. |
| Background Only When Using the Media Library | Limit background mode to Media Library uploads. |
| Optimize Original Image | Optimize the big-image original. |
| Preserve Date / Copyright / Location | Keep individual EXIF fields. |
Third-party optimizers
Media Cloud also detects and works with these optimizer plugins:
- EWWW Image Optimizer
- Smush and Smush Pro
- ShortPixel
- Imagify
- Kraken Image Optimizer
When one of those plugins is active, Media Cloud does not run its own optimizer. Use one optimization path, not both. If the optimizer runs outside Media Cloud’s upload pipeline, Media Cloud cannot transfer the optimized result; use Media Cloud’s built-in optimizer or one of the supported plugins that runs during upload.
Troubleshooting
| Problem | Likely cause |
|---|---|
| Images are not optimized | Provider credentials are wrong, the API quota is exhausted, or the optimizer is disabled because Imgix is enabled. |
| Uploads appear to be missing from storage | Background optimization is still running. Wait for the task to finish. |
| Uploads are very slow | Disable Optimize in Background only if background tasks are unreliable; otherwise optimize asynchronously. |
| Optimization stops after a few images | The provider API limit or credit balance was reached. |
| Original image is not optimized | Optimize Original Image is off, or the image is smaller than the big-image threshold. |
Need a hand with this guide?
Send support the exact step you’re stuck on and we’ll help you finish the setup.