---
title: CSP ‚ü∂ img-src Explained
description: The img-src Content Security Policy (CSP) directive explained
layout: layout
date: Last Modified
canonical: https://content-security-policy.com/img-src/
---
<div class="jumbotron">
	<h1>The CSP <code>img-src</code> Directive</h1>
	<div class="lead">The <code>img-src</code> <strong>Content Security Policy</strong> (CSP) directive guards the loading of images (for example via an <code>&lt;img&gt;</code> HTML tag.</div>
</div>

<h2>Example Policy</h2>
<p>A