How to avoid image attachment in html email? -


i supposed send out newsletter local club. formatting in html appears fine, if user views email in web based client (e.g. yahoo, gmail, etc.), image appear separately attachment; though using url reference image. how can avoid having image appear attachment? thanks!

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html>     <head>         <meta http-equiv="content-type" content="text/html; charset=utf-8">          <title>club news</title>      </head>     <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="-webkit-text-size-adjust: none;margin: 0;padding: 0;background-color: #fafafa;width: 100%;">  <center>  <table id="table1" style="background-color: #ffffff; border-bottom: 0px none; width: 600px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr>  <td> <img style="position: relative; right: 0; bottom: 0;border: 0px none; line-height: 100%; outline: none; text-decoration: none; display: block; float: left;" title="club1" src="http://www.clubswebsite.com/assets/img/clublogo.png" alt="logo" align="center"/> </td> </tr> </tbody> </table>  </tr> </tbody> </table> 

one solution can use, if image relatively simple (such clip-art or logo), convert image pure html. can find tools convert bitmap html table, coloring cells in pixel's color. convertors (here's 1 wrote - source code here) apply rle compression make sure html isn't large.

note, rle increases image size (e.g., 5kb png might grow 80kb html) afaik, long keep e-mail size under ~120kb displays on e-mail clients.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -