[wp-trac] [WordPress Trac] #47873: Introduce handling of "Big Images"
WordPress Trac
noreply at wordpress.org
Mon Sep 30 18:21:29 UTC 2019
#47873: Introduce handling of "Big Images"
----------------------------+---------------------
Reporter: azaozz | Owner: azaozz
Type: enhancement | Status: closed
Priority: high | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: needs-dev-note | Focuses:
----------------------------+---------------------
Comment (by azaozz):
Replying to [comment:26 justinahinon]:
This is controlled by the `big_image_size_threshold` filter. It sets the
max-width or max-height (landscape vs. portrait) value (in pixels) above
which an image will be considered "big".
As mentioned before there are several checks possible there apart from
dimensions: file size, presence of EXIF Orientation !== 1 (meaning the
image is a photo coming directly from the camera), etc. But thinking it is
easier to understand and use when it only looks at dimensions, at least
for now. So currently any image with width or height above 2560 is
considered big.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47873#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list