[wp-trac] [WordPress Trac] #43524: Add another default image size
WordPress Trac
noreply at wordpress.org
Sun Mar 11 16:52:24 UTC 2018
#43524: Add another default image size
-------------------------+-----------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Media | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------
We've had the `srcset` and `sizes` attributes for quite some time and they
seem to work quite well.
One problem is that we don't have a 2x images for the built-in `large`
size. Currently when displaying images larger than 512 px on the front-end
on devices with high pixel density screens, the browser has only one
choice: to output the full size/original image. These images are often as
large as 6000px x 4000px and 4MB or even larger.
To fix this and not output needlessly large images we need a new size that
should be 2x the current "large" size, max 2048px width or height.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43524>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list