Allow fallback to generic image loading when PNG/JPEG-specific loads fail.
Merge pull request #1075 from Nuzzel/bugfix/handle_incorrect_image_contenttype

Allow fallback to generic image loading if PNG/JPEG-specific loads fail