---
title: disable
summary: null
url: https://www.fastly.com/documentation/reference/io/disable
---

Disables features that are enabled by default.

> **IMPORTANT:** In Fastly services in which IO was enabled after April 2018, `upscale` is already disabled by default. It can be enabled with the [`enable`](https://www.fastly.com/documentation/reference/io/enable) parameter.

## Syntax

```text
disable={value}
```

## Allowed values

| Value     | Description                                                                                            |
| --------- | ------------------------------------------------------------------------------------------------------ |
| `upscale` | Prevent images being 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 usage                                                                               | Description                                                                                        |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| [`?width=2560&disable=upscale`](https://www.fastly.io/image.jpg?width=2560&disable=upscale) | Attempt to resize the image to 2560px wide but do not exceed the natural width of the source image |
