[wp-trac] [WordPress Trac] #45178: 5.0 About Page
WordPress Trac
noreply at wordpress.org
Tue Dec 4 22:10:03 UTC 2018
#45178: 5.0 About Page
----------------------------+--------------------------
Reporter: pixelverbieger | Owner: lonelyvegan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.0
Component: Help/About | Version: 5.0
Severity: normal | Resolution:
Keywords: fixed-5.0 | Focuses:
----------------------------+--------------------------
Comment (by joemcgill):
Replying to [comment:47 joemcgill]:
> @melchoyce – I'd be happy to help. Let me know when they're ready.
I started working on responsive image for this, but ran out of time to
complete. However, the most manual part is calculating the `sizes`
attribute for the full-width images on this page. Those should all be
`sizes="(max-width: 500px) calc(100vw-40px), (max-width: 782px) calc
(100vw-70px), (max-width: 960px) calc(100vw-116px), (max-width: 1440px)
calc(100vw-240px), 1200px"`.
I generally use Cloudinary's breakpoint generator tool to create various
images for `srcset` based on their file size alogrithm. Here's a link to
that tool. https://www.responsivebreakpoints.com/
If nobody picks this up, I'll try to have a patch together tomorrow
morning US Central Time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45178#comment:98>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list