为什么电子邮件 html 无法显示 url 图片

问题描述

我有一个电子邮件 html 设计,但无法在电子邮件显示图像,我将图像上传到我的驱动器并复制它的链接

使用此代码

 <a href="https://www.instagram.com/" style="text-decoration: none;"><img src="https://drive.google.com/file/d/1DHEcyMm0zdVrmO0/view?usp=sharing" width="30" height="31" alt="" style="border: 0; line-height: 100%; outline: 0; -ms-interpolation-mode: bicubic; color: #ffffff;"></a>

解决方法

尝试使用可公开访问的链接

试试这个

 <a href="https://www.instagram.com/" style="text-decoration: none;"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Envelope_font_awesome.svg/1024px-Envelope_font_awesome.svg.png" width="30" height="31" alt="" style="border: 0; line-height: 100%; outline: 0; -ms-interpolation-mode: bicubic; color: #ffffff;"></a>