{"record":{"id":"6445be0efb472987","repo":"gatsbyjs/gatsby","slug":"image-not-loaded","errorCode":null,"errorMessage":"Image not loaded","messagePattern":"Image not loaded","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-plugin-image/src/components/static-image.server.tsx","lineNumber":57,"sourceCode":"    transformOptions,\n    jpgOptions,\n    pngOptions,\n    webpOptions,\n    avifOptions,\n    blurredOptions,\n    breakpoints,\n    outputPixelDensities,\n    /* eslint-enable @typescript-eslint/no-unused-vars */\n    ...props\n  }): ReactElement {\n    if (__error) {\n      console.warn(__error)\n    }\n\n    if (imageData) {\n      return <GatsbyImage image={imageData} {...props} />\n    }\n    console.warn(`Image not loaded`, src)\n    if (!__error && process.env.NODE_ENV === `development`) {\n      console.warn(\n        `Please ensure that \"gatsby-plugin-image\" is included in the plugins array in gatsby-config.js, and that your version of gatsby is at least 2.24.78`\n      )\n    }\n    return null\n  }\n}\n\nconst StaticImage: React.FC<IStaticImageProps & IPrivateProps> =\n  _getStaticImage(GatsbyImageServer)\n\nconst checkDimensionProps: PropTypes.Validator<number> = (\n  props: IStaticImageProps & IPrivateProps,\n  propName: keyof IStaticImageProps & IPrivateProps,\n  ...rest\n) => {\n  if (","sourceCodeStart":39,"sourceCodeEnd":75,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-plugin-image/src/components/static-image.server.tsx#L39-L75","documentation":"Server-render warning from _getStaticImage when no imageData was produced for a StaticImage: the image failed at build time (the earlier __error warning holds the cause) and the component renders without an image.","triggerScenarios":"Thrown at packages/gatsby-plugin-image/src/components/static-image.server.tsx:57 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure gatsby-plugin-image is in the plugins array of gatsby-config.js","Check the build-time error emitted for this image (bad src path or sharp processing failure)","Verify the src prop resolves to a real image"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}