Go Behind the Experience to see how Tecovas brings the West to life with Sanity 🤠 July 18th

Fix for rendering multiple images in Sanity blog after code change

2 replies
Last updated: Jun 23, 2024
Hi there, is it possible to upload multiple images in a Sanity blog? I created my first blog and added about 5 images, however, after publishing it only has the main image, the other's are not on the blog.
Jun 21, 2024, 6:42 AM
Yes, you can add a field with multiple images, but you’d also need to be rendering each of them on your frontend. What does your code and schema look like?
Jun 21, 2024, 3:47 PM
Thanks, our developer found a bug in the code that only renders the main image but not the other ones. All fixed now after a code change. Thanks for the suggestion.
Jun 23, 2024, 5:09 AM

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?