a8t / MRCC

MIT License
0 stars 0 forks source link

Images in Netlify CMS preview are breaking #1

Open a8t opened 5 years ago

a8t commented 5 years ago

Images work locally / in production but break in the admin panel (local and prod)

a8t commented 5 years ago

previously but no longer relevant: https://github.com/gatsbyjs/gatsby/issues/13938 : Infamous GraphQL Error Field "image" must not have a selection since type "String" has no subfields. https://github.com/gatsbyjs/gatsby/issues/5990 : gatsby-plugin-netlify-cms: Usage with gatsby-image? https://github.com/gatsbyjs/gatsby/issues/12610 : Gatsby Image with Netlify CMS - 'childImageSharp' of null

ok now we're looking at an error of image.childImageSharp is undefined

a8t commented 5 years ago

https://theleakycauldronblog.com/blog/problems-with-gatsby-image-and-their-workarounds/

a8t commented 5 years ago

OK it might be in PreviewCompatibleImage which came with the CMS starter