[wp-trac] [WordPress Trac] #58681: No lazy loading attribute on images in gallery

WordPress Trac noreply at wordpress.org
Fri Jun 30 09:54:15 UTC 2023


#58681: No lazy loading attribute on images in gallery
--------------------------+----------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  Future Release
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+----------------------------
 Images in gallery shortcode no longer have lazy loading attribute. In
 WordPress 6.2 images in the gallery did have lazy loading attribute and
 they are now missing in trunk.

 Behaviours seem a little different between image sizes.
 With gallery shortcode with image size large, I see fetch priority and
 source set, but not lazy load attribute. With thumbnail size, I see no
 fetch priority or lazy loading attributes. But have decoding async,
 meaning they have been processed at some point.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58681>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list