Add workaround for base64 encoding of svg images - and by extensions png and jpgs too