Image Scaling Problem in Outlook

28.03.21

Layout Email faced the fact that in desktop Outlook (it turns out that someone else is using it), pictures were displayed on a strange scale. All pictures have been enlarged. Solved this problem as follows. Outlook-specific code has been added to the head section and some attributes have been added to the html tag.

 

<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:v="urn:schemas-microsoft-com:vml"
 xmlns:o="urn:schemas-microsoft-com:office:office">

<head>
   
  <!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:AllowPNG/>
  <o:PixelsPerInch>96</o:PixelsPerInch>
 </o:OfficeDocumentSettings>
</xml><![endif]-->
</head>
blog comments powered by Disqus