CheckIsImage option

Hi,

I was loading images from a place that doesn't give them sensible filenames.  The regular expression used to check for images was therefore unhelpful.  But in other places it was helpful.  So I added an option to turn it off.  Defaults to true.

Hope this helps.

Huw.