### Bug description

In my experience the image resizing only works if there is at least one additional item on the same slide, this can be text, note,  or additional image. Please see below full qmd for the example.  

I use `knitr::include_graphics` to include the images. Example of code would be:

```{r}
#| label: fig-autumn1
#| fig-cap: Autumn<br />Krzysztof Popławski, CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0>, via Wikimedia Commons
#| out-width: 10%
url1 <- "https://upload.wikimedia.org/wikipedia/commons/b/bc/Park_%C5%9Arodula%2C_Sosnowiec_-_01.jpg"
knitr::include_graphics(url1)
```

## Session info 

```
─ Session info ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.2.2 RC (2022-10-24 r83173)
 os       macOS Ventura 13.0
 system   aarch64, darwin21.6.0
 ui       RStudio
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       Europe/Zurich
 date     2022-10-31
 rstudio  2022.07.2+576 Spotted Wakerobin (desktop)
 pandoc   2.19.2 @ /Applications/RStudio.app/Contents/MacOS/quarto/bin/tools/ (via rmarkdown)

─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 package     * version date (UTC) lib source
 cli           3.4.1   2022-09-23 [1] CRAN (R 4.2.1)
 digest        0.6.30  2022-10-18 [1] CRAN (R 4.2.1)
 evaluate      0.17    2022-10-07 [1] CRAN (R 4.2.1)
 fastmap       1.1.0   2021-01-25 [1] CRAN (R 4.2.1)
 htmltools     0.5.3   2022-07-18 [1] CRAN (R 4.2.1)
 knitr         1.40    2022-08-24 [1] CRAN (R 4.2.1)
 rlang         1.0.6   2022-09-24 [1] CRAN (R 4.2.1)
 rmarkdown     2.17    2022-10-07 [1] CRAN (R 4.2.1)
 rstudioapi    0.14    2022-08-22 [1] CRAN (R 4.2.1)
 sessioninfo   1.2.2   2021-12-06 [1] CRAN (R 4.2.1)
 xfun          0.34    2022-10-18 [1] CRAN (R 4.2.1)
 yaml          2.3.6   2022-10-18 [1] CRAN (R 4.2.1)

 [1] /Library/Frameworks/R.framework/Versions/4.2/Resources/library

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
```


## Copy of the `qmd`  Document

```
      ---
      title: "Image Resize"
      format: revealjs
      editor: visual
      ---
      
      ## Image resize (single) -- doesn't work
      
      ```{r}
      url1 <- "https://upload.wikimedia.org/wikipedia/commons/b/bc/Park_%C5%9Arodula%2C_Sosnowiec_-_01.jpg"
      ```
      
      ```{r}
      #| label: fig-autumn1
      #| fig-cap: Autumn<br />Krzysztof Popławski, CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0>, via Wikimedia Commons
      #| out-width: 10%
      knitr::include_graphics(url1)
      ```
      
      ## Image resize (single, with aside) -- works
      
      ```{r}
      #| label: fig-autumn2
      #| fig-cap: Autumn
      #| out-width: 10%
      knitr::include_graphics(url1)
      ```
      
      ::: aside
      Krzysztof Popławski, CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0>, via Wikimedia Commons
      :::
      
      ## Image resize (multiple) -- works
      
      ```{r}
      #| label: fig-autumn3
      #| fig-cap: Autumn<br />Krzysztof Popławski, CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0>, via Wikimedia Commons
      #| out-width: 10%
      knitr::include_graphics(url1)
      ```
      
      ```{r}
      #| label: fig-autumn4
      #| fig-cap: Autumn<br />Krzysztof Popławski, CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0>, via Wikimedia Commons
      #| out-width: 25%
      knitr::include_graphics(url1)
      ```
      
```

### 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.
2022-10-31T10:27:22Z
ivanek
v1.3
closed
Presentation (revealjs) -- Image resize only works if there is additional item on the same slide
https://github.com/quarto-dev/quarto-cli/issues/3117