[wp-trac] [WordPress Trac] #39253: Head Image Quality Issue
WordPress Trac
noreply at wordpress.org
Thu Dec 15 18:48:18 UTC 2016
#39253: Head Image Quality Issue
---------------------------+------------------------------
Reporter: richardevs | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by joemcgill):
This is a tricky one. If there's a way to calculate the actual image width
that will be applied using `object: cover` at different break points, then
we could update the `sizes` attribute accordingly. It's worth noting that
`calc()` works inside `sizes` attributes. If that doesn't work, then a
possible approach could be to estimate when the image will be larger than
100% of the screen size and do something like `150vw`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39253#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list