Base64 images to gmail

前端 未结 7 1464
再見小時候
再見小時候 2020-11-28 06:20

I\'m generating some inline images for an email sent from the iPad. Looks great in all desktop email clients, but gmail doesn\'t seem to like the base64 image and it shows u

7条回答
  •  被撕碎了的回忆
    2020-11-28 07:19

    This works fine: I set two src attribute, one with data:image/png;base64 and the other with the link to the image. When you use gmail, it use the src attribute with link and when you use other client of email it use the src attribute with data:image/png;base64. Try it!. you will see.

提交回复
热议问题