[wp-trac] [WordPress Trac] #59464: Images in 2024 theme do not have modern image features

WordPress Trac noreply at wordpress.org
Tue Oct 3 07:13:34 UTC 2023


#59464: Images in 2024 theme do not have modern image features
--------------------------+--------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------

Comment (by swissspidy):

 > That is easily possible to accomplish, however apparently the image will
 then display incorrectly within the block editor only.

 I'd love to get thoughts from Gutenberg folks on this so that we can come
 up with a solution within the Image block that doesn't require each and
 every theme to hook into `wp_img_tag_add_width_and_height_attr`. Perhaps
 @Mamaduka or @gziolo have some thoughts? (Apologies for the random ping)

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


More information about the wp-trac mailing list