Helpful information provided when an image of an unsupported type is provided

Useful for debugging when an unsupported image gets uploaded. Easier to pinpoint what is causing the problem when the whole image path is provided.