diff --git a/packages/gatsby-image/src/index.js b/packages/gatsby-image/src/index.js index 808ab5c67a2d7..7100366fd0685 100644 --- a/packages/gatsby-image/src/index.js +++ b/packages/gatsby-image/src/index.js @@ -87,6 +87,21 @@ const isWebpSupported = () => { return isWebpSupportedCache } +const noscriptImg = props => { + const { + opacity = ``, + src, + srcSet, + sizes = ``, + title = ``, + alt = ``, + width = ``, + height = ``, + transitionDelay = ``, + } = props + return `${alt}` +} + const Img = props => { const { opacity, onLoad, transitionDelay = ``, ...otherProps } = props return ( @@ -278,15 +293,11 @@ class Image extends React.Component { )} {/* Show the original image during server-side rendering if JavaScript is disabled */} - +