I am searching for a way to uploading multiple images to sanity.io. Only thing that I found is this issue.
But maybe there is another way. Some npm-plugin or node.js app approach.
I'll be grateful for the help.
I am searching for a way to uploading multiple images to sanity.io. Only thing that I found is this issue.
But maybe there is another way. Some npm-plugin or node.js app approach.
I'll be grateful for the help.
I found the answer in sanity.io slack. This is it.
For multiple images upload you have to use array of images instead of field with 'image' type
{
name: 'imagesGallery',
title: 'Images gallery',
type: 'array',
of: [{ type: 'image' }]
}
This is simple and elegant way to solve my problem. Excellent!