How to fix stretched post images in Ghost v4

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:

<style>
.kg-image-card img { height: auto; }
</style>