Skip to content

book .qmd not displaying image previews for collection of .jpg images #13038

Answered by mcanouil
vogtr19 asked this question in Q&A
Discussion options

You must be logged in to vote

The issue is that you are giving a list of images which you expect to be used for different fields of your listing.
In your case, you did not set title or image.

Either do as demonstrated (custom EJS listing) in the links shared previously or provide a full specification of your listing.

  contents:
    - filename: galleries/img_1.jpg
      title: "Image 1"
      image: galleries/img_1.jpg
    - filename: galleries/img_2.jpg
      title: "Image 2"
      image: galleries/img_2.jpg
    - filename: galleries/img_3.jpg
      title: "Image 3"
      image: galleries/img_3.jpg
    - filename: galleries/img_4.jpg
      title: "Image 4"
      image: galleries/img_4.jpg

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@vogtr19
Comment options

@mcanouil
Comment options

mcanouil Jul 7, 2025
Collaborator

@vogtr19
Comment options

@mcanouil
Comment options

Answer selected by vogtr19
@vogtr19
Comment options

@mcanouil
Comment options

@vogtr19
Comment options

@vogtr19
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants