enable

Enables features that are disabled by default.

Syntax

enable={value}

Allowed values

ValueDescription
upscaleAllow images to be resized such that the output image's dimensions are larger than the source image.

Notes

  1. Image upscaling is discouraged because it increases both the file size and delivery time of the image to the end user with no visual improvement. We recommend handling upscaling on the client-side (e.g., using a web browser or native application).
  2. The upscale value must be used with the width, height, or dpr parameters to see any effect in the output image.

Examples

Click the links to view the transformed image using a demo Fastly IO service.

Example usageDescription
?width=2560&enable=upscaleResize the image to 2560px wide despite the source image being smaller

User contributed notes

BETA

Do you see an error in this page? Do you have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact Fastly support)