Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Keep large photos sharper

WordPress shrinks uploaded images wider or taller than 2560 pixels. This raises the limit to 3000 pixels, which suits full-width photos on large screens.

  • Type PHP
  • Runs Everywhere (runs as WordPress loads)
  • Tested with WordPress 7.1
PHP
<?php

// Pixels. Return false instead to keep the original size of every upload.
add_filter( 'big_image_size_threshold', static fn() => 3000 );

Good to know

Applies to new uploads only.

In these packs

  • Content and media: Shortcodes, links, images and small design touches for the public site.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.