How to use Gatsby Image in Strapi Multiple Image

Ilias Haddad
1 min readApr 21, 2020

--

Photo by Yannick Pipke on Unsplash

This tutorial will show you how to use Gatsby Image in Strapi Multiple Image

First, you need to edit gatsby-node.js file and add the code below

Second, replace “”StrapiProducts” with node type you have multiple image on it

Third, replace “multipleImages” with what you called the multiple media in Strapi CMS

Restart Gatsby and query you data with Gatsby Image supported

Thanks for reading :)

--

--

Ilias Haddad
Ilias Haddad

Written by Ilias Haddad

I’m Full Stack Javascript Developer, Shopify Developer and Indie Maker

Responses (1)