Pass a type error when the URL is not an image URL
Merge pull request #5 from shinnn/fix-type-error-handling

Pass a type error when the URL is not an image URL