I have an email template defined in salesforce which uses custom components. Eveything works fine. But i am also showing chatter image of the lead owner i.e user.
<img src="{!leadOwner.FullPhotoUrl}" width="58" height="58" align="middle" /> which generates
<img align="middle" alt="alex" height="58" src="https://c.cs5.content.force.com/profilephoto/729O00000004Gjz/F" width="58"> Problem is the Gmail do not show this image.
Failed to load resource: the server responded with a status of 404 (Not Found) https://ci5.googleusercontent.com/proxy/zOByJ58s8uRZn-AfYwBUlicwnihwa9s39sV…=s0-d-e1-ft#https://c.cs5.content.force.com/profilephoto/729O00000004Gju/F
Images not showing up in Email sent using email template Have seen this link but this works only with documents can we do it for chatter profile image too.
Also, i would like to know if there is a way to implement view online option for my email so that regardless of what clients browser/mail provider supports, i can gracefuly show my content.
FullPhotoUrl(via a trigger on User) as an "Externally Available Image" document and save the document's public URL in a new field on User called e.g.ExternallyAvailableFullPhotoUrl__cthat you can reference in your email templates.