If you have a Ghost post with images, then when Gatsby builds it, they come out all stretched vertically.
Anyone have a fix for this?
If you have a Ghost post with images, then when Gatsby builds it, they come out all stretched vertically.
Anyone have a fix for this?
Sounds like a CSS problem in your Gatsby site so it’s not handling <img>
elements that have width
and height
attributes set.
If your CSS sets a fixed/max width for images try adding height: auto
to your img styles.
I’m using the official ghost starter - it’s a problem with that. Not sure where to plug that code in. Is it something that can be fixed on the project’s GitHub page?