Images not showing in Cloudflare Pages

Images are not being shown here:

It works in local but not when I publish to cloudflare pages.

Any ideas?

The edge runtime of next.js does not support next/image image resizing API.
Your options are:
Use for Image Resizing (requires at least Pro on a domain/zone + paying for Image Resizing): Integration with frameworks · Cloudflare Image Optimization docs

Try the static next js image exporter: next-image-export-optimizer - npm

Or use normal img components and not next/image

Ahhh! Got it! Thanks for your help!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.