From: Neil Charlton Date: 2006-08-17T17:12:38+09:00 Subject: Test For JPEG Image Over HTTP Hi I would like to test for the existence of a .jpg image on a remote server over HTTP. I have tried 2 different methods but they are not what I need. Method 1: require 'open-uri' if open('http://example.net/path/to/image.jpg') end -- Posted via http://www.ruby-forum.com/.