Hi all – I have a question about Sanity Desk Configuration and image thumbnail previews. I want to make the first item in an array of images = the thumbnail preview of the...

3 replies
Last updated: Jan 26, 2021
Hi all – I have a question about Sanity Desk Configuration and image thumbnail previews. I want to make the first item in an array of images = the thumbnail preview of the page. Is this something I can configure?(these other images are populating from a ‘MainImage’ field that I’m trying to phase out.)
Jan 26, 2021, 3:58 PM
Hey Joe – sure is – just use
images.0
in your
select
Jan 26, 2021, 4:03 PM
Thank you!!!
Jan 26, 2021, 4:03 PM
No worries 🙂 Its the first thing that caught me out!
Jan 26, 2021, 4:04 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in