👀 Our most exciting product launch yet 🚀 Join us May 8th for Sanity Connect

How to Replace Types on Images without Re-adding Each Image for Every Object/Document

1 replies
Last updated: Jul 8, 2021
I have some objects with images, but i figured i should have made a custom image object, which supports things like alt text. Is there a way to not having to re add the images for every object/document where i want to replace
type: 'image'
with
type: 'customImage'
?
Jul 8, 2021, 10:06 AM
Yeah
user A
, that’s a good point. If you just add the
fields
to the image you can edit them in the studio and preserve the images without having to patch.
Jul 8, 2021, 9:09 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?