Go Behind the Experience to see how Tecovas brings the West to life with Sanity ๐Ÿค  July 18th

How to get the URL for an image in a Slack thread.

2 replies
Last updated: Nov 8, 2023
Hello, everyone! how can I get the URL for this Image? ๐Ÿ™‚ thank you.
Nov 8, 2023, 11:38 AM
should be something like
hero[]{heroImage[]{asset->{url}}}
Nov 8, 2023, 11:57 AM
The above assumes
hero
is an array which I think it's not, so I suggest:
heroSection->{
   hero{
    ...,
    "heroImageURL": heroImage->asset.url
   }

Nov 8, 2023, 12:37 PM

Sanityโ€“ build remarkable experiences at scale

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

Was this answer helpful?