My wife is using Ghost as a way to store images of badges she collects. One post per badge. The images are very high-res. The post image (via post settings) works but of course that displays an image with a wide aspect ratio as it is designed to span the post header and so looks wrong.
Preferable would be a small thumbnail in the post excerpt - i.e. the body of the postcard for the post that is shown on the homepage. I can create such thumbnails but not sure how to embed them in the postcard (I assume in partial/postcard.hbs)
Ideally the embedded thumbnail would be auto-generated and rescaled from the first image in the post but maybe that is too much to ask for.
Anyone done anything like this before I go off exploring and playing too much?
Not sure how to handle a mix of upsplash and local feature images
Also my ideal would not be to use the feature image at all but the very first image referenced in the post body itself - even better would be to embed a Cloudinary thumbnail of this first image in the excerpt on the postcard
The site has a mix of upsplash and local feature_images. Upsplash ones worked as expected but local ones were blank (rendered blank grey). Using the browser to inspect the image element I see this HTML was generated:
So looks like {{feature_image}} is still relative in 2.5.0
Not a problem for the site I need to use it on myself as it will always use local images for feature_image so I can add the missing URL bit myself but looks like feature_image being absolute might be a requirement/bug.
Ah sorry Brian, I think Iāve been leading you up the garden path here. I completely forgot we have an extra helper exactly for this purpose. What you need is: {{img_url feature_image absolute="true"}}
Iāll get that Cloudinary article updated to say the right thing now