I want to display the product thumbnails in the panel, similar to Starterkit. However, the thumbnails don’t show up, it shows the icon instead. The thumbnails render nicely on the front-end.
Here are my blueprints:
site.yml
columns:
- width: 1/2
sections:
products: sections/products
- width: 1/2
sections:
notes: sections/notes
sections/products.yml
type: pages
headline: Products
parent: site.find("products")
size: tiny
info: "{{ page.images.count }} photo(s)"
layout: cards
template: product
empty: No products available
image:
query: page.thumbnail
ratio: 1/1
cover: true
pages/product.yml
title: Product
icon: 🖼
status:
draft: true
listed: true
columns:
- width: 2/3
sections:
content:
type: fields
fields:
title:
type: text
description:
type: textarea
images:
type: files
layout: cards
template: image
info: "{{ file.dimensions }}"
image:
ratio: 1/1
cover: true
min: 1
size: small
- width: 1/3
fields:
thumbnail:
type: files
multiple: false
tags: true
Thanks for your help!
Min