[wp-trac] [WordPress Trac] #36173: 4.5 About Page

WordPress Trac noreply at wordpress.org
Mon Apr 11 03:46:28 UTC 2016


#36173: 4.5 About Page
----------------------------+--------------------------------------------
 Reporter:  melchoyce       |       Owner:  mikeschroder
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  4.5
Component:  Help/About      |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  accessibility, administration
----------------------------+--------------------------------------------

Comment (by joemcgill):

 [attachment:36173.23.diff] sets up the feature images with `srcset` and
 `sizes` attributes. I created smaller sizes from the original 1000px
 versions and compressed them using ImageOptim. The whole set of file sizes
 can be found in [attachment:about-images.zip].

 The image sizes included are: 280px, 400px, 560px, 680px, 800px, and
 1000px.

 These will need to be uploaded to the wp.com CDN and then all of the
 placeholder URLs in the `src` and `srcset` will need to be replaced with
 the actual URLs.

 Some considerations I included in the implementation:

 * I've included the 560px version in the `src`, which is slightly larger
 than the largest 1x width needed. I'm assuming that most retina devices
 are capable of displaying images from the `srcset`. Otherwise, we will
 display a smaller image, and since we're not using a polyfill, we don't
 need to worry about any double download issues by including both a `src`
 and a `srcset` attribute.

 * I've listed the 1000px resource first in the `srcset` to ensure that
 older versions of iOS Safari get crisp images due to a bug that cause them
 to always load the first source in a `srcset` attribute when using an
 unrecognized descriptor (see #35030).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36173#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list