SVG图像不显示在html电子邮件 [英] SVG image not showing in html email

查看:242
本文介绍了SVG图像不显示在html电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将svg图像嵌入到html电子邮件中。它显示在iphone和桌面mac邮件应用程序,但是在我的Mobileme网络邮件上显示。任何想法为什么?这是代码< object data =http://www.jamesgrubb.co.uk/img/rclogoSmall.svgtype =image / svg + xmlwidth =200height = 50style =display:block; overflow:hidden;
pluginspage =http://www.adobe.com/svg/viewer/install/>< img src =http://www.jamesgrubb.co.uk/img/rclogoSmall.svg alt =Red Cloudstyle =width:200px; height:50px;/>< / object>

I've embeded an svg image in to an html email. It displays on iphone and desktop mac mail aplication but is nt showing on my Mobileme web mail. Any ideas why? This is the code<object data="http://www.jamesgrubb.co.uk/img/rclogoSmall.svg" type="image/svg+xml" width="200" height="50" style="display:block; overflow: hidden;" pluginspage="http://www.adobe.com/svg/viewer/install/"><img src="http://www.jamesgrubb.co.uk/img/rclogoSmall.svg" alt="Red Cloud" style="width:200px; height:50px; "/></object>

推荐答案

许多网络邮件服务在显示之前都会清理HTML邮件。很确定它会看到OBJECT元素,并将其删除以及其内部的任何内容。

Many webmail services sanitize their HTML emails before showing it. Pretty sure it sees the OBJECT element and removes it and whatever it has inside.

这篇关于SVG图像不显示在html电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆