[Image Plugin] Fix MIME type and encoding

Allows to actually display images from clipboard and images with faulty extensions in clients strictly adhering to the claimed MIME type.