Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/cloudflare/howtos/image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ export default function cloudflareLoader({ src, width, quality }: ImageLoaderPro
}
```

<Callout type="warning">
This simple loader does not respect [Next.js
remotePatterns](https://nextjs.org/docs/pages/api-reference/components/image#remotepatterns). You should
configured [the allowed source origins](https://developers.cloudflare.com/images/transform-images/sources/)
in the dashboard.
</Callout>

You will then need to update your app configuration to use this loader:

```ts
Expand Down