Hi folks, i am displaying remote images on my service
<img src="http://remote-site.com/imageX">
However, sometimes the image is already gone, so I would get 404s or just a plain text.
Question is -> how can i degrade to a generic image as soon as I get something that is not image type?
Actual code, whether in jQuery, Ruby, etc much appreciated!