My issue is that post-card pictures on the home screen always appear blurry no matter what format I upload them in. This is not an issue in the post itself, just in the thumbnails that appear on the home page.
I agree with @minimaluminium - looks like an issue in your theme package.json?
You can see from the srcset that your intrinsic images are being up-scaled - for example, your srcset is using /w400/ image for up to 600w display, so the 400px image is being up-scaled, and appears blurred.
Oh - I though Ghost generated the <img tag in a helper, using the package.json sizes - but I see in the templates that this is hard-coded…
I recommend you make sure the sizes configured in your package.json match the sizes in post.hbs, page.hbs and partials/post-card.hbs - or wherever your templates contain srcset.
well, the XL looks too small? 500px? you should probably increase that to 1000px.
If you post config/code with 4 leading spaces, the forum will display it nicely
Really - you need to talk to whom-ever set these sizes and ask them if they forgot to update the theme srcset to match. They need to keep the config file sizes in step with the theme templates.
Thanks for posting your config, that really helps! The theme is configured to show 700px or the closest high width image when the screen size larger than 1000px.
And if you look at partials/post-card.hbs file, you can see that the closest image size is 1000px which looks like:
{{img_url feature_image size="l"}} 1000w,
That means the “l” image size is being used, but the image size is 500px on your site and it’s getting upscaled and appearing blurry.
Here is Casper’s default image_sizes config. Can you please update your package.json file to revert the config to default?
loading="lazy" delays loading of the image until it reaches a distance from the viewport and it has several benefits like reduced load time and bandwidth saving.
On the other hand, loading="eager" does the opposite - it loads the image immediately.