WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 7 days ago

#49676 new defect (bug)

Gallery Block upload does not link to the right image

Reported by: romain145 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3.2
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

When uploading images directly from the Gallery Block, the image used is a fixed resolution image rather than the scaled image.
The scaled image is the only one accessible through the Media Library, but the Gallery Block links to a fixed-size image.
This is bad for performance, as the linked image is huge even when displayed in a tiny Gallery matrix:
https://travellingsquirrel.altervista.org/kata-beach-in-phuket-the-quieter-alternative-to-patong

img src="https://travellingsquirrel.altervista.org/wp-content/uploads/2020/03/20190208_182104-3000x2250.jpg

It also makes any edit through the Media Library to not be applied to the displayed image, and vice-versa.

Change History (3)

This ticket was mentioned in Slack in #core-media by pbiron. View the logs.


8 months ago

#2 @noisysocks
7 days ago

  • Keywords reporter-feedback added

Hi @romain145. Where is the non-scaled image displayed? When I test this I see a scaled image inserted into the block editor and on the frontend.

#3 @noisysocks
7 days ago

  • Type changed from enhancement to defect (bug)
Note: See TracTickets for help on using tickets.