WordPress.org

Make WordPress Core

Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#48783 closed defect (bug) (invalid)

Image is scaled down

Reported by: sasanmoradian Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: Media Keywords:
Focuses: Cc:

Description

Hi There,

I noticed when I upload a large image size WordPress is scaling it down automatically.
This is happening only on large scale photos when I am uploading a photo 2880x1920 px. After upload, the new size is 2560x1707 px and this “-scaled” automatically added to the file name.

I tried this in one of my current projects and a newly setup WordPress and I got the same result.

I appreciate it if you can help me to solve this problem.

Thank you,
Sasan

Attachments (2)

Screen Shot 2019-11-24 at 4.03.02 PM.png (4.0 MB) - added by sasanmoradian 10 months ago.
Screen shot after uploading the file
Screen Shot 2019-11-24 at 4.03.31 PM.png (964.2 KB) - added by sasanmoradian 10 months ago.
Showing the original file size before upload.

Change History (5)

@sasanmoradian
10 months ago

Screen shot after uploading the file

@sasanmoradian
10 months ago

Showing the original file size before upload.

#1 @TimothyBlynJacobs
10 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from critical to normal
  • Status changed from new to closed

Hello @sasanmoradian and welcome to trac!

This is a new feature in WordPress 5.3. You can find out more about it in the Make.Core blog post summarizing the feature.

If you'd like, you can turn off this feature by adding the following code to your child theme's functions.php.

add_filter( 'big_image_size_threshold', '__return_false' );

In the future its best to create a thread in the WordPres.org Support Forums instead of Trac for issues like this.

#2 @TimothyBlynJacobs
10 months ago

Sorry, I forgot to mention that there is also a plugin you can use if that'd be more convenient for you. https://wordpress.org/plugins/disable-big-image-threshold/

#3 @sasanmoradian
10 months ago

Thanks @TimothyBlynJacobs

Note: See TracTickets for help on using tickets.