If an image is not provided in the YAML, then the listing of a blog post is supposed to use:
The image for this item, read from the image field of the front matter, or automatically discovered by taking the first of an image of class preview-image , an image with a file name starting with feature , cover , or thumbnail , or the first image to appear in the document.
I'm trying to go for the last option - first image to appear in the document, but it's not working. Reproducible example:
@riinu thanks for the repository as a reprex. That really helps!
I believe
first image to appear in the document .
does not apply to plots computed from code chunks.
If you try adding
See
![](image.jpg)
in the .qmd file and rerender the blog, you'll have the image taken in the listing.
I don't know if this is expected or just an oversight, but I believe you could report it in Quarto.
Do you want to open an issue there or should I do it ?
@ethan_tenison Are you also trying to use an image generated in a code chunk ?
In your case it seems the image path is not correctly found as we could see from the broken image link. Would you be able to share a reproducible example ?
Thanks so much for having a look!
Does sound like a missing feature rather than a bug then. Would be great if you could open an issue about this! Thanks so much again.