files/en-us/web/http/reference/headers/content-security-policy/img-src/index.md
The HTTP {{HTTPHeader("Content-Security-Policy")}} img-src directive specifies valid sources of images and favicons.
Content-Security-Policy: img-src 'none';
Content-Security-Policy: img-src <source-expression-list>;
This directive may have one of the following values:
'none'
<source-expression-list>
Given this CSP header:
Content-Security-Policy: img-src https://example.com/
The following {{HTMLElement("img")}} is blocked and won't load:
{{Specifications}}
{{Compat}}