Ability to crop featured image?

I’ve been digging through the documentation and GitHub issues and can’t seem to figure out if this is possible or not. Basically, I’m just using Ghost as the backend to power the blog on my website and using the API to pull all of the data out. I’ve got a hero image that is 1920x680 in the post and the thumbnail image on the blog homepage is 890x595. Since they are different aspect ratios, I need to crop the featured image, but all I can find in the documentation is how to specify the width in the Image_sizes config. Is there some way to accomplish this, even if it requires some sort of custom setup?

You might not actually need to crop the image, you could modify it’s presentation using CSS. Have you used the object-fit property before? Pretty handy way to resize images without distorting them:

1 Like

Ah, good call! That is indeed a much simpler solution. Thanks!

1 Like