Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#49676 new defect (bug)

Gallery Block upload does not link to the right image

Reported by: romain145's profile 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.


4 years ago

#2 @noisysocks
3 years 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
3 years ago

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