Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Provider Settings
On this page

Provider Settings

Configure Media Cloud's built-in image optimizer with Kraken.io, ShortPixel, Imagify or TinyPNG.

4 min read·2 tags

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

ProviderCredentialsCompression control
Kraken.ioAPI Key + API SecretLossy, lossy quality, chroma subsampling
ShortPixelAPI KeyLossy, Glossy, Lossless
ImagifyAccess TokenLossless, Aggressive, Ultra
TinyPNGAPI KeyLossless only

Find your credentials here:

Common settings

SettingDescription
Upload ImageUpload the image to the service instead of sending it a URL. Required when the site is not publicly accessible.
Optimize in BackgroundQueue optimization as a background task. Cloud upload waits until optimization finishes.
Background Only When Using the Media LibraryRun optimization in the background only for uploads started from the Media Library.
Optimize Original ImageAlso optimize the unscaled original when WordPress creates a big-image copy.
Lossy CompressionCompression mode. Options vary by provider.
Keep EXIF DataPreserve 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

SettingDescription
API KeyKraken API key.
API SecretKraken API secret.
Upload ImageUpload the file instead of using a URL.
Optimize in BackgroundQueue optimization.
Background Only When Using the Media LibraryLimit background mode to Media Library uploads.
Optimize Original ImageOptimize the big-image original.
Lossy CompressionEnable lossy compression.
Lossy Quality0 lets Kraken choose the intelligent lossy quality.
Chroma Subsampling4:2:0 (best compression), 4:2:2, or 4:4:4 (highest quality).
Preserve ICC Profile / Date / Copyright / Location / OrientationKeep individual EXIF fields.

ShortPixel settings

SettingDescription
API KeyShortPixel API key.
Upload ImageUpload the file instead of using a URL.
Optimize in BackgroundQueue optimization.
Background Only When Using the Media LibraryLimit background mode to Media Library uploads.
Optimize Original ImageOptimize the big-image original.
Lossy CompressionLossy (best savings), Glossy (near-original quality), or Lossless.
Keep EXIF DataPreserve all EXIF data.

Imagify settings

SettingDescription
Access TokenImagify API access token.
Optimize in BackgroundQueue optimization.
Background Only When Using the Media LibraryLimit background mode to Media Library uploads.
Optimize Original ImageOptimize the big-image original.
Lossy CompressionLossless, Aggressive, or Ultra.
Keep EXIF DataPreserve all EXIF data.

TinyPNG settings

SettingDescription
API KeyTinyPNG API key.
Upload ImageUpload the file instead of using a URL.
Optimize in BackgroundQueue optimization.
Background Only When Using the Media LibraryLimit background mode to Media Library uploads.
Optimize Original ImageOptimize the big-image original.
Preserve Date / Copyright / LocationKeep 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

ProblemLikely cause
Images are not optimizedProvider credentials are wrong, the API quota is exhausted, or the optimizer is disabled because Imgix is enabled.
Uploads appear to be missing from storageBackground optimization is still running. Wait for the task to finish.
Uploads are very slowDisable Optimize in Background only if background tasks are unreliable; otherwise optimize asynchronously.
Optimization stops after a few imagesThe provider API limit or credit balance was reached.
Original image is not optimizedOptimize 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.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →