Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 months ago

#48783 closed defect (bug) (invalid)

Image is scaled down

Reported by: sasanmoradian's profile 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 5 years ago.
Screen shot after uploading the file
Screen Shot 2019-11-24 at 4.03.31 PM.png (964.2 KB) - added by sasanmoradian 5 years ago.
Showing the original file size before upload.

Change History (7)

@sasanmoradian
5 years ago

Screen shot after uploading the file

@sasanmoradian
5 years ago

Showing the original file size before upload.

#1 @TimothyBlynJacobs
5 years 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
5 years 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
5 years ago

Thanks @TimothyBlynJacobs

#4 @desrosj
5 months ago

In 58597:

Build/Test Tools: Make use of new reusable workflows for 5.8.

This updates the 5.8 branch to utilize the new reusable workflows in trunk introduced in [58165].

This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:

  • The image and platform properties for the mysql container have been updated to always prefer amd64 containers (#60822).
  • macos-13 is now pinned for MacOS jobs instead of macos-latest (#61340).
  • Run E2E tests with and without SCRIPT_DEBUG (#58661).
  • Migrating to Docker Compose V2 (#60901).
  • Removing the version property from docker-compose.yml (#59416).
  • Improvements to how artifacts and comments for Playground testing are generated.
  • Removing SVN related commands causing failures (#61216).
  • Updating the actions/github-scripts action to the latest version.
  • Move the Memcached container into the Docker Compose config (#55700).
  • Configure Xdebug modes in the local Docker environment (#56022).
  • Cache the results of PHP_CodeSniffer runs (#49783).

Merges [52179], [53895], [53552], [56113], [56114], [57918], [58157], [57124], [57125], [57249] to the 5.8 branch.

Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #48783, #55700, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213, #58661.

#5 @desrosj
5 months ago

In 58598:

Build/Test Tools: Make use of new reusable workflows for 5.7.

This updates the 5.7 branch to utilize the new reusable workflows in trunk introduced in [58165].

This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:

  • The image and platform properties for the mysql container have been updated to always prefer amd64 containers (#60822).
  • macos-13 is now pinned for MacOS jobs instead of macos-latest (#61340).
  • Run E2E tests with and without SCRIPT_DEBUG (#58661).
  • Migrating to Docker Compose V2 (#60901).
  • Removing the version property from docker-compose.yml (#59416).
  • Improvements to how artifacts and comments for Playground testing are generated.
  • Removing SVN related commands causing failures (#61216).
  • Updating the actions/github-scripts action to the latest version.
  • Cache the results of PHP_CodeSniffer runs (#49783).
  • A fix to grunt clean to prevent script-loader-packages.php from being deleted (#53606).

Merges [51355], [52179], [56113], [56114], [57918], [58157], [57124], [57125], [57249] to the 5.7 branch.

Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #48783, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213, #58661, #53606.

Note: See TracTickets for help on using tickets.