I insert 3 (vertically long) images with
::: {layout-ncol="3"}



As the images are very long (you have to scroll down to reach the bottom), I would need to have the caption or the title at the top instead (or in addition) to the bottom of each image.
Caption locations can be controlled by using the fig-cap-location
option. You can set this to top
for positioning the caption above the images (in HTML and PDF formats):
---
format: html
fig-cap-location: top
---
::: {layout-ncol="3"}



:::