[wp-trac] [WordPress Trac] #45985: Twenty Nineteen: Introduce better theme support for responsive images

WordPress Trac noreply at wordpress.org
Mon Jul 15 13:59:11 UTC 2024


#45985: Twenty Nineteen: Introduce better theme support for responsive images
--------------------------------------------+-----------------------------
 Reporter:  kjellr                          |       Owner:  (none)
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  Future Release
Component:  Bundled Theme                   |     Version:  5.0.3
 Severity:  normal                          |  Resolution:
 Keywords:  dev-feedback close 2nd-opinion  |     Focuses:  performance
--------------------------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  dev-feedback => dev-feedback close 2nd-opinion


Comment:

 The situation seems the same as it was years ago.

 - I inserted a 2000-pixel wide image in a standard width Image block and
 set the image to Full Size.
 - I then duplicated the block twice and set those to Wide and Full width.
 - All three images had the `sizes="(max-width: 2000px) 100vw, 2000px"`
 attribute.
 - When using a 1920 monitor, the browser loaded the full 2000-pixel image.
 - When using a 1366 monitor, the browser loaded a 1536-pixel image.

 I have the same `sizes` attribute when switching to Twenty Twenty and
 Twenty Twenty-One (and likely other themes), so editing for only one theme
 might not be worth much.

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


More information about the wp-trac mailing list