See Sanity in action 👀 Join us for a live product demo + Q&A →

Uploading photos in documents using JavaScript library

2 replies
Last updated: Jul 8, 2022
Hello guys, is there an option to upload a photo when creating a document using the javascript library? Or should the photo be uploaded to assets first and then used creating document? But here is the problem, I do not know how to create an "object" of the photo using the javascript library. Is this possible?
Jul 8, 2022, 1:48 AM
Hey
user N
! You'll want to check out the discussion in this thread.
Jul 8, 2022, 4:04 AM
Thank you! I missed this topic.
Jul 8, 2022, 11:14 AM

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