Content is not an image but file extension asserts it is