Skip to content
For the complete Netlify documentation index, see llms.txt. Markdown versions of this page are available by appending .md to the URL.

Unlimited seats on Netlify Pro for $20/month → Learn more 👥

Create an Image CDN integration

For the complete documentation index, see llms.txt

It’s possible for frameworks and other tools to dynamically configure the Netlify Image CDN on behalf of their users, without asking them to modify their own Netlify configuration files.

To make this happen, your framework should write a file to the .netlify/deploy/v1/config.json path with the configuration properties you wish to set.

To specify the list of allowed domains, set the images.remote_images array.

// .netlify/deploy/v1/config.json
{
"images": {
"remote_images": [
"https://my-images.com/.*",
"https://animals.more-images.com/[bcr]at/.*"
]
}
}

This is the JSON equivalent of the remote_images property used in the netlify.toml file.