key (e.g. avatar_sm).
Applying a Preset
Once a preset is created, you can apply it to any public or signed media URL by appending the?p=preset_key query parameter.
Supported Preset Settings
When creating a preset, you pass asettings JSON object. The parameters you can provide match the exact same parameters used in the dynamic URL transformation APIs:
Image Preset Settings Example:
Overriding Presets
If you provide a preset?p= but also explicitly provide a URL query parameter, the URL query parameter will take precedence over the preset setting.
For example, if your avatar_sm preset sets format=webp, but you fetch ?p=avatar_sm&format=png, the resulting image will be a PNG.