Body images download locally

Can I download images locally contained in the body?

I know the images which have their own field can download locally with some options in the gatsby-config.js file.

But how about the images in the body section?

If you know please give me some answers.

Hello @urosaria0720

Welcome to the Prismic community and thanks for reaching out to us.

You can give a shouldDownloadFiles option in gatsby-config.js. If the images you're referencing are contained in a slice, and in the primary field, you need to specify a path like in the following example in gatsby-config.js file:

shouldDownloadFiles: {
  '': true, // image field in a slice

[ Remove with your API IDs]

Give this a try and let me know.