[Image Plugin] Fix MIME type and encoding

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