The Gloat Blog

How to fix stretched post images in Ghost v4

A quick fix for stretched images after upgrading to Ghost v4.

· Dan Rowden

Ghost v4 was released in March 2021, and with it Ghost now handles post image sizes slightly differently.

This change means that a lot of Ghost themes will incorrectly render post images, making them too tall.

To fix this, simply paste the following in the Code Injection head section of your Ghost admin:

.kg-image-card img { height: auto; }