Image widths in emails

While hacking around trying to include some images in an email I was trying to set the height and width of the IMG tag. This wasn’t working at all (which I had read about) but then I put the images in a table with a cellpadding and all of a sudden the images are being resized.

Not sure why that is but thought it might help anyone trying to do the same thing.

<table cellpadding=”1″>
<tr><td><img width=”100″ height=”50″ src=”” /></td></tr>

Note: Only really tested in Outlook 2010, so might not work in other email clients.

Leave a Reply

Your email address will not be published. Required fields are marked *