Answers from the community about Images

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
CORS Error: Sanity CDN Returns localhost Instead of Production Domain5Aug 11, 2021
Loss of `Access-Control-Allow-Origin` Headers after New CORS Origin17Aug 11, 2021
Next/Image hostname config not working with external component library3Aug 10, 2021
How to validate image dimensions in Sanity uploads12Aug 9, 2021
How to output square image without cropping using Sanity image client library?10Jul 22, 2021
How to get access rights to create guides and edit profile in Sanity Community?14Jul 20, 2021
Best practice for alt text on images in block content?9Jul 20, 2021
How to fix "untitled" document name in Sanity schema type?16Jul 12, 2021
Sanity image-url shortcode error: "Cannot read property 'replace' of null9Jul 12, 2021
Why isn't my Sanity config reading projectId from .env.local in Next.js?14Jul 9, 2021
Migrating from default image type to custom image object without re-uploading2Jul 8, 2021
Reduce image preview size for icons in Sanity Studio4Jul 8, 2021
GROQ: Filter posts by category when categories is an array field7Jun 29, 2021
How to auto-generate slug from title field in Sanity productVariant schema?8Jun 27, 2021
Output referenced person image as background in Next.js from Sanity query5Jun 25, 2021
getInitialProps vs getServerSideProps in Next.js with Sanity2Jun 23, 2021
How to edit project info in Sanity Studio or fix Netlify deployment issues?34Jun 22, 2021
SVG images not cached by CDN - missing Cache-Control header2Jun 18, 2021