Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Images show wrong aspect ratio in the frontend #138

Closed
mtoensing opened this issue Oct 20, 2021 · 3 comments
Closed

Images show wrong aspect ratio in the frontend #138

mtoensing opened this issue Oct 20, 2021 · 3 comments
Labels
[Type] Bug Something isn't working

Comments

@mtoensing
Copy link

Describe the bug
Fresh WordPress installation shows uploaded images with a stretched aspect ratio. Happens to all uploaded images. Switching to twenty-twenty-one or twenty-twenty renders them just fine. Happens to already uploaded images and new ones.

To Reproduce
Steps to reproduce the behavior:

  1. Upload an image.
  2. Look at post in frontend

Expected behavior
All images should keep their aspect ratio.

Screenshots
gutenberg-2022
frontend-2022

Device inphone:
MacOS, Chrome

@mtoensing mtoensing added the [Type] Bug Something isn't working label Oct 20, 2021
@jffng
Copy link
Collaborator

jffng commented Oct 20, 2021

Hi @mtoensing thanks for the report. What version of Gutenberg are you using?

I believe this was resolved upstream in WordPress/gutenberg#30092, as I don't see a height: auto;. This fix will be shipped with version 11.8 of the plugin I believe, so unless you're running Gutenberg trunk I believe we can close the issue.

@mtoensing
Copy link
Author

Thanks!

@mtoensing
Copy link
Author

Had to install this: https://github.com/bph/gutenberg/releases/tag/11.9.-nightly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants