next-image-missing-loader.mdx


title: 'Missing loader Prop on next/image'

Why This Error Occurred

When using the next/image component with loader="custom" in next.config.js, you must provide the loader prop to the component with your custom implementation.

Possible Ways to Fix It

  • Add the loader prop to all usages of the next/image component.
  • Change the loader configuration in next.config.js.

Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.

errors/next-image-missing-loader.mdx · vercel/next.js | Docs MD