Support for both image/jpg and image/jpeg as content type

Different clients use this differently...
Merge pull request #22 from rubenstolk/patch-2

Support for both image/jpg and image/jpeg as content type