Home / Disable / Disable automatic image resizing
Duplicate Snippet

Embed Snippet on Your Site

Disable automatic image resizing

Code Preview
php
<?php
<?php
// Disable WordPress' automatic image scaling feature
add_filter( 'big_image_size_threshold', '__return_false' );

Comments

Add a Comment