### Bug description

I've replicated this with the RStudio default blog template. You can view a repository here https://github.com/JoFrhwld/quarto-name I changed the [`./index.qmd`](https://github.com/JoFrhwld/quarto-name/blob/master/index.qmd) header to have a grid listing:

```yaml
# ./index.qmd
---
title: "blog-template"
listing:
  contents: posts
  sort: "date desc"
  type: grid
  categories: true
  sort-ui: false
  filter-ui: false
page-layout: full
title-block-banner: true
---
```

[In one post](https://github.com/JoFrhwld/quarto-name/blob/master/posts/welcome/index.qmd), I included an image in the post body.

```yaml
# posts/welcome/index.qmd
---
title: "Welcome To My Blog"
author: "Tristan O'Malley"
date: "2023-03-15"
categories: [news]
---

This is the first post in a Quarto blog. Welcome!

![](palmerpenguins.png)

Since this post doesn't specify an explicit `image`, the first image in the post will be used in the listing page of posts.
```

[In the other](https://github.com/JoFrhwld/quarto-name/blob/master/posts/post-with-code/index.qmd), I specified it in the yaml header. 

```yaml
# posts/post-with-code/index.qmd
---
title: "Post With Code"
author: "Harlow Malloc"
date: "2023-03-18"
categories: [news, code, analysis]
image: palmerpenguins.png
---
```

The resulting main page looks like so:

![quarto-name_-_master_-_RStudio](https://user-images.githubusercontent.com/178755/228027965-c2cc81c3-b8eb-4436-901b-0452f1c59370.png)

#### Version info

R: 
```r
sessionInfo()
# R version 4.2.2 (2022-10-31)
# Platform: aarch64-apple-darwin20 (64-bit)
# Running under: macOS Ventura 13.2.1

quarto::quarto_version()
# [1] ‘1.3.280’
```

Quarto: 
```bash
❯ quarto check

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.280
      Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.11.2
      Path: /opt/homebrew/opt/python@3.11/bin/python3.11
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.2.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
      knitr: 1.40
      rmarkdown: 2.17

[✓] Checking Knitr engine render......OK
```

RStudio:
Version 2023.03.0+386 (2023.03.0+386)

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
dragonstyle
2023-03-27T18:10:46Z
JoFrhwld
bug triaged-to regression
v1.3
closed
listing `type: grid` stretches images explicitly defined in yaml headers.
https://github.com/quarto-dev/quarto-cli/issues/4985