You are reading Edgio v6 docs. Check out our latest docs for Edgio v7.
Edgio
Edgio

Image Optimization

Optimize images by passing query string parameters to the following base URL:

1https://opt.moovweb.net

Source Image Requirement

Images that use the following file formats are eligible for processing:

jpg | jpeg | png | webp

Edgio delivers the source image when attempting to process an image that uses an unsupported file format.

Query String Parameters

Use the following query string parameters to identify an image and the set of optimizations that will be applied to it:

Required:

  • img - the source image URL

Optional:

  • quality - quality between 1 and 99
  • width - the maximum output width
  • height - the maximum output height

Examples

Quality example:

This example sets the image quality to 30.

1https://opt.moovweb.net?quality=30&img=https://docs.edg.io/images/performance/product-apps-image_optimization.png

Height example:

This example sets the maximum height to 200 pixels.

1https://opt.moovweb.net?height=200&img=https://docs.edg.io/images/performance/product-apps-image_optimization.png