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

Disable

Features

Description

The disable parameter turns off functionality that is active by default.

API Pattern

disable={value}

Parameter

Parameter Description
disable Turns off functionality that is active by default.

Parameter Values

Value Description
upscale Image Upscaling.

Notes

  1. Upscale:
    • The upscale value controls whether or not an image can be delivered with larger dimensions than the source image. For example, if a source image has a width of 640px and a request is made for a width of 960px, a width of 640px will still be returned.
    • The upscale value is typically only used when developers want to use CSS to upscale their images in a browser.
    • The upscale value must be used with a width or height parameter or both to see the effects in the output image.

Examples

Description HTML Demo
Disable Image Size Upscaling - Don't upscale the image to 2560px in width if the original is smaller than the requested output size. <img src="image.jpg?width=2560&disable=upscale"/> Example