Questions related to the gatsby-image plugin. https://www.gatsbyjs.org/packages/gatsby-image/
Questions tagged [gatsby-image]
292 questions
2
votes
1 answer
src as prop in gatsby-plugin-image issue
Hy everyone,
I need help because I'm struggling using gatsby-plugin-image StaticImage with props ...
I have a component Trailer I'm using with props to get the datas.
Everything works fine for all the props like the title, the year etc... except for…

user6103049
- 21
- 1
- 2
2
votes
1 answer
In Gatsby how do I pass a relative path file to a template that is also pulling a query?
In Gatsby I've coded a single post template:
singlePost.js:
import React from 'react'
import { graphql } from 'gatsby'
import { MDXRenderer } from 'gatsby-plugin-mdx'
import { H1 } from '../elements'
import { Container, Post, FeatureImage } from…

DᴀʀᴛʜVᴀᴅᴇʀ
- 7,681
- 17
- 73
- 127
2
votes
1 answer
WebpackError: ReferenceError: Image is not defined (during "gatsby build" by "gatsby develop" works fine)
**failed Building static HTML for pages - 3.572s**
ERROR #95313
Building static HTML failed for path "/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
38 | thrershold: 0,
39 | …

anuj kumar
- 21
- 2
2
votes
1 answer
How to remove `
The resulting static html code from gatsby-image is something like this: