title: In SSL how to gracefully handle IMG src of https URL that redirects to http
body: <p>I have a PHP site (which uses HTTPS) that pulls blog content HTML from an API.</p>
  <p>Sometimes the blog content contains <code>img</code> tags.  In rare cases, the <code>src</code> of an <code>img</code> tag might point to an https URL that is a redirect to an http URL.</p>
  <p>So when a visitor to <em>my</em> site loads the page, the browser (e.g. Firefox) says in the URL bar:</p>
  <blockquote>
  <p>Connection is Not Secure</p>
  <p>Parts of this page are not secure (such as images).</p>
  </blockquote>
  <p>What can I do to ensure that my visitors always experience full https?</p>
  <p>Is there some way that my PHP or javascript could preemptively detect that an <code>img</code> <code>src</code> would redirect to a http URL and simply omit that tag (prevent it from loading)?</p>