Cope with SVG images

When using SVG images, the base64 declaration requires 'svg+xml'
I haven't looked into this issue too deeply I'm afraid, I just added a coping mechanism for this particular scenario.