[wp-trac] [WordPress Trac] #47873: Introduce handling of "Big Images"
WordPress Trac
noreply at wordpress.org
Sat Sep 7 01:07:00 UTC 2019
#47873: Introduce handling of "Big Images"
-------------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------
Comment (by azaozz):
In [changeset:"46076" 46076]:
{{{
#!CommitTicketReference repository="" revision="46076"
Media: Add handling for "BIG" images. When the users upload a big image,
typically a photo, scale it down to make it suitable for web use. Then use
the scaled image as the "full" size, and keep the originally uploaded
image for creating high quality sub-sizes in the future and in case the
users want to download it later.
Introduces `wp_get_original_image_path()` that retrieves the path to the
originally uploaded image in all cases, and `big_image_size_threshold`
filter to set the pixel value above which images will be scaled. The same
value is used as max-width and max-height when scaling.
See #47873.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47873#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list