πŸ‘€ Our most exciting product launch yet πŸš€ Join us May 8th for Sanity Connect

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?