Opened 3 years ago
Last modified 3 years ago
#54981 new defect (bug)
WP 5.9 Gallery Block Issues
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
I have an image gallery in all of my posts with images set to not cropped, thumbnail size, 3 or 4 columns.
If I look at an old post (anything before the WP 5.9 upgrade this week), the gallery images look fine. If I go into that old post and update it (without changing anything in the gallery), the gallery images change to stretched in safari and full-size, singe column (instead of thumbnail, 3 or 4 columns) in chrome and firefox.
Also, newly created posts are having the same issue since WP 5.9 upgrade.
Issue is present while using either GeneratePress or Twenty Twenty-Two themes.
I have tried deleting gallery and re-adding, same issue.
Change History (4)
#2
@
3 years ago
It appears that the "stretching" images issue is from 5.9 trying to full justify the gallery block, even if you set justification to none, center, etc. Flipping on the crop images button seems to revolve the issue, but I am still limited to large size images, not thumbnails. Anyway, it is a temporary work-around.
I have added the following code which resolves the only one column issue on chrome or firefox: