Check if a remote image is online
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5913150/check-if-image-exists-on-remote-server-before-downloading">Check if image exists on remote server before downloading</a>  </p>
</blockquote>



<p>I want to display several webcam images from remote servers (authorized to do that). Sometimes the image is not available. What is the best way to check -in real-time- whether an image can be served on my website?</p>
