[wp-trac] [WordPress Trac] #64978: Lightbox shows cropped gallery image, instead of full-sized image

WordPress Trac noreply at wordpress.org
Mon Mar 30 09:59:22 UTC 2026


#64978: Lightbox shows cropped gallery image, instead of full-sized image
--------------------------+------------------------------
 Reporter:  heathenstorm  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by heathenstorm):

 The gallery image cropping is entirely dependent on the viewport. When the
 example page is shrunk to mobile dimensions, the third image is displayed
 uncropped on a second row and in the lightbox.

 The full image is still present in both the gallery and lightbox, proven
 by right-click "Open Image in New Tab" revealing it uncropped. The issue
 seems to be purely in the lightbox display and not with user intent.


 Regards expected behaviour, the "Lightbox for Gallery and Image Block"
 plugin ''always'' displays the full image in the lightbox. (Plugin page:
 https://wordpress.org/plugins/gallery-block-lightbox/ )


 A second demonstration showing this:
 https://blog.heathenlab.net/2026/03/30/gallery-and-image-block-plugin-
 demo/

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


More information about the wp-trac mailing list