Hear from Slack, the ACLU, TED, & more at our customer summit in San Francisco Register
LOG IN SIGN UP
Documentation

Auto

Features

Description

The auto parameter turns on functionality that automates certain optimization features.

API Pattern

auto={value}

Parameter

Parameter Description
auto Automate certain optimization features.

Parameter Values

Value Description
webp WebP Image Support.

Notes

  1. Automatic delivery of WebP format images is performed via content negotiation and will override the format parameter in browsers that support WebP.
  2. Although the WebP format produces images at a higher compression ratio with a lower loss of quality, it is not supported in all browsers.

Examples

Description HTML Demo
Enable WebP Image Support - Deliver a WebP image to supported browsers. <img src="image.jpg?auto=webp"/> Example
Advanced Examples (Combining Additional Parameters)
Description HTML Additional Param Demo
Enable WebP Image Support and encode to a progressive JPEG - For non supporting WebP browsers. <img src="image.png?format=pjpg&auto=webp"/> format Example