Handle passing the full MIME Type to the image tag builder.

Fix for supplying a full MIME type, rather than just the stuff after the "image/".  Preserves backward compatibility.