8

In the body of an HTML e-mail I send

<img style="display:block" alt="Revel Resorts | AC NJ" src="http://revel.mydelphic.com/sites/all/themes/revel/images/r_01.jpg" border="0" height="128" width="20">

which renders as an image.

But viewing it in an email I get

<img style="display:block" alt="Revel Resorts | AC NJ" border="0" height="128" width="20">

The src attribute is removed entirely. Anyone know what I may be needing to do to avoid this?

  • 1
    Your code is most probably sanitised by Google. – Jacob Jan Tuinstra Mar 6 '13 at 17:24
  • 2
  • I'm sending the email, I am looking for things I can do on my end so images show up for others. – lathomas64 Mar 6 '13 at 18:01
  • Does this happen even if the receiver uses something else than GMail, like a desktop email client? – Vidar S. Ramdal Feb 24 '14 at 13:06
  • 3
    They now download the images to their own server and serve those to the user instead of the original source. (The img src will be something like ci4.googleusercontent.com/proxy/longstringofletters The image listed in the question is 404, which may be why nothing is showing up (nothing for Google to proxy.) – Andrew Maiman Oct 31 '14 at 12:07
2

Have you ever wondered why Gmail asks you before showing images in emails? We did this to protect you from unknown senders who might try to use images to compromise the security of your computer or mobile device.

But thanks to new improvements in how Gmail handles images, you’ll soon see all images displayed in your messages automatically across desktop, iOS and Android. Instead of serving images directly from their original external host servers, Gmail will now serve all images through Google’s own secure proxy servers.

...

Previous/New inline images in Gmail

...

This new improvement will be rolling out on desktop starting today and to your Gmail mobile apps in early 2014.

References
Images Now Showing - Official Gmail Blog Posted: Thursday, December 12, 2013

  • This does not help as my images are not proxied as well and src is stripped. Proxied images have an src pointing to a google proxy service. – sivann Mar 27 '18 at 12:17
  • Excellent reference answer I found via Google May 2018. And the question doesn't even match. +1 – SDsolar May 5 '18 at 1:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.