# Disable Big Image Scaling

> Stops WordPress from creating a scaled-down "-scaled" copy of images larger than 2560 pixels, so the original file is used as uploaded.

- Type: PHP
- Runs: Run everywhere
- Category: [Media](https://wpide.com/library/category/media/)
- Tags: media, images, scaling
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/disable-big-image-scaling/

## Code

```php
add_filter( 'big_image_size_threshold', '__return_false' );
```

## Notes

Very large originals use more disk space and can be slow to serve; resize before uploading.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Disable Big Image Scaling" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
