Home > Configuration > Front-end-optimization > setfeoaction_imgtowebp

setfeoaction_imgtowebp

Use this method to set convert JPEG, GIF, PNG image formats to WEBP format.

Syntax



Parameters

name

The name of the front end optimization action.
This is mandatory parameter.

imgtowebp

Convert JPEG, GIF, PNG image formats to WEBP format.

Return Value

Returns simpleResult

See Also