Image CDN
Using next/image component
When running on Netlify, next/image is automatically set-up to use Netlify Image CDN for optimized images.

Original vs. optimized image: can you tell the difference?
In the code below, a regular <img> tag is used in both cases for a framework-agnostic example.
Other than using next/image or rolling your own <img> tags, you can also use the excellent unpic-img.

