How to detect 403 Errors on images in one place?
<p>This error is thrown when my site is used inside an organization that blocks certain domains - i.e. social sites etc.  They are just links to images on these domains using <code>&lt;img src = ""&gt;</code></p>

<p><strong>From Chrome Console</strong></p>

<blockquote>
  <p>Failed to load resource: the server responded with a status of 403
  (Forbidden: category denied)
  "Followed by URL"</p>
</blockquote>

<p>How can I detect this error pragmatically and have a default image display instead?</p>
