I am looking for the definitive way to add images (like a logo or social media icon) to my HTML email templates. What this means:
- Should be loaded in all email clients as well as webmail
- Should not require to add an image as an attachment
- Externally hosted images is not a problem
- Should require minimal data to be sent with the email
- Should not intervene with HTML or CSS used by webmail clients
Approaches tried so far:
- Adding a base encoded image as image (not rendered)
- Adding a base encoded image as CSS background (not rendered)
- Adding externally hosted (blocked by default by gmail)
- Adding externally hosted image to CSS background (not rendered by Windows Mail)
I am able to find very long articles discussing all the pros and cons of a myriad of approaches without telling you the best way to do it. If there are other (better ways) to format transactional emails I am also all ears. Thanks!