đź”® Sanity Create is here. Writing is reinvented. Try now, no developer setup

Converting uploaded JPG images to WebP format in Sanity for use as background images on the frontend.

2 replies
Last updated: Aug 15, 2023
In Sanity when using
how should an uploaded image of format
be converted to
to be used as a background image on the frontend? Im not seeing under
a way to grab a webp. Can this be converted in Sanity after upload?
Aug 15, 2023, 9:05 PM
sanity doesn’t offer image conversions like that.
Aug 15, 2023, 10:24 PM
actually it does it seems. you just need append
Aug 15, 2023, 10:27 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?