DEV Community

Discussion on: Gatsby with WPGraphQL, ACF and Gatbsy-Image

Collapse
 
henrikwirth profile image
Henrik Wirth

Not sure if I understand the question correctly.

So with this functionality above, you source the images from your Backend on build/develop and it will generate static files into your build folder.

So if you take that build and deploy it, the images will still be there even if your Backend is down.

Now if you will use gatsby build again while your backend is down, that obviously doesn't work. If you want your images to be persitent in your frontend without the need of your backend, just add them to an image folder inside your gatbsy project.

Collapse
 
arielnt1993 profile image
Ariel Navarro

right sorry yhea it was the wrong question (I was kinda sleepy) but thanks anyway