Could we help you? Please click the banners. We are young and desperately need the money
With the version 5.3 of WordPress, they've added a feature that forces large images to scale down in size, so they are web-ready. If an image is larger as the declared size it's going to get scaled automatically.
If you want to disable this new feature, you just have to simply add this line of code to the functions.php file.
add_filter( 'big_image_size_threshold', '__return_false' );
If you want to enable the scaling by yourself, you can set the threshold in pixels for the image. Everything is getting declared in the functions.php function.
mynamespace_big_image_size_threshold($threshold) { return 4000; } add_filter('big_image_size_threshold','mynamespace_big_image_size_threshold', 999, 1);