For full functionality, either run this site locally via netlify dev
(see docs) or deploy it to Netlify.
When running on Netlify, next/image
is automatically set-up to use Netlify Image CDN for optimized images.
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.