birkir / gatsby-source-prismic-graphql

Gatsby source plugin for Prismic GraphQL
MIT License
137 stars 75 forks source link

gatsby-image not working when building #195

Open modulareverything opened 4 years ago

modulareverything commented 4 years ago

I have gatsby-image working with absolutely fine in a local environment, but as soon as I build/serve then images disappear and only the low-resolution preview is showing.

I've checked the public cache and I can find the folders with the images in, so I know they're building.

From what I can see, the difference between the production and development environments is that in the production environment, there's no <picture> tag being added.

This happens when running gatsby build && gatsby serve locally or when building via Netlify.

modulareverything commented 4 years ago

Any hope for a fix on this?