netlify-image-cdn
Installation
SKILL.md
Netlify Image CDN
Use this / avoid this
// USE: build the URL on the site's own domain; url is required, the rest optional
const src = `/.netlify/images?url=${encodeURIComponent(remoteOrPath)}&w=400&h=300&fit=cover&fm=webp&q=75`;
# USE: single-quoted literal regex in netlify.toml
[images]
remote_images = ['https://my-images\.com/.*']