👀 See Sanity in action: Watch product demo now →

How to Fetch Only Images for an Image Sitemap

3 replies
Last updated: Sep 14, 2021
Hey Everyone!Is there a way to get only images for a
image site map
?
Sep 14, 2021, 8:22 PM
Does
*[_type == 'sanity.imageAsset']
return what you’re after?
Sep 14, 2021, 8:27 PM
Aww yea! Thank you so much I think this is right!
Sep 14, 2021, 8:30 PM
Does
*[_type == 'sanity.imageAsset']
return what you’re after?
Sep 14, 2021, 8:27 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