How can I change the size of a GIF image on the blog index page that lists posts? #3396
-
Quarto used the gif image in one of my posts as the image for that post on the blog home page that lists all the posts (as desired), but the image there is rather large, not reduced in size like the smaller images for other posts (which are generated from jpegs). How can I control the size of images on that page? For that matter, how can I change the size images in a post? Please forgive my beginner questions. I did spend some time searching to see how to do this, but I am new to Quarto, only using it for this blog, and there is a lot to take in. :) Here's my blog, where you can see the GIF is much larger than the other images. Here's the code for that post:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should be able to specify an For example: ---
title: "blog"
listing:
contents: posts
sort: "date desc"
type: default
categories: true
sort-ui: false
filter-ui: false
image-height: 150px
page-layout: full
title-block-banner: true
--- |
Beta Was this translation helpful? Give feedback.
You should be able to specify an
image-height
for your listing, which will set the height for images and allow the width to scale automatically.For example: