SOLVED

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

Go to solution
Anonymous
Not applicable

Marketo Removing Code for Image Scaling for Outlook at 125%dpi

We’re having an issue with email rendering on Outlook 2013 (125% dpi) wherein the images stray from the set boundaries of the parent table. Upon further inspection, we’ve noticed that Marketo appears to be removing the header markup necessary for correct image scaling in Outlook at 125%dpi. I’ve attached screenshots of the code from before and after sending through Marketo.

Is there a way to stop Marketo from removing that code, or another workaround to adding it?

Pre Marketo code -

<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

Post-Marketo code -

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

Any help would be much appreciated.

Tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Justin_Cooperm2
Level 10

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

We will be releasing this feature with a patch outside of our normal release schedule and I want to explain how it will work. The items will be applied to our production code tonight (10/13) and will be available for activation starting tomorrow. It will not be turned on automatically for all customers. We will, however, enable the feature on an ad-hoc basis for those that are interested. If you would like this feature enabled, please email me atjcooperman@marketo.com and tell me the Munchkin ID of your subscription.

While this functionality has been thoroughly tested, we won't be enabling this for all customers for 1-2 months. It is a large change and it is important that you understand (and communicate to your team) the behavior before choosing to enable this.

With this feature enabled, you will see the following behavior:

  • Custom DOCTYPES will not be stripped from your Email Templates when creating new Emails in Marketo.
  • Custom HTML attributes will not be stripped from your Email Templates when creating new Emails in Marketo.

         Please Note:

    • Your custom DOCTYPE will persist only if it is the very first line of your Email Template or what you are pasting into Email Actions > HTML Tools > Replace HTML. If the DOCTYPE is anywhere else, it will be stripped and replaced with Marketo's default DOCTYPE.
    • If you have existing Email Templates that already have custom DOCTYPES, they will now persist into your new Emails once the feature is enabled. Because this is a change from today's behavior, we highly recommend you make sure this will not cause issues for your existing emails. Same goes for existing Email Templates with custom HTML attributes.
    • If you omit a DOCTYPE in your Email Template or what you paste into Email Actions > HTML Tools > Replace HTML, the default Marketo DOCTYPE will still be added. You cannot create an Email without a DOCTYPE.
    • The Email Template "Preview" option will not show your custom DOCTYPE. This is expected so you can disregard this. Your emails will still have the DOCTYPE. This also applies to custom HTML attributes.

Again, please reach out directly if you'd like this enabled starting tomorrow (10/14) for your subscription. We will roll this out to all customers shortly after.

Thanks,

Justin

View solution in original post

39 REPLIES 39
Josh_Perry1
Level 7

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

Have you reached out to Marketo about this?

Anonymous
Not applicable

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

We have, but they don't have an answer for us yet. I thought perhaps the community might have some experience with similar issues.

Anonymous
Not applicable

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

is this still the case where Marketo strips out this code. Can anyone confirm?

xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">

Kinda need this for background images to display in Outlook. without it this system is 3 years behind the times?

Anonymous
Not applicable

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

Marketo couldn't find an answer for us, so the issue still stands. If you figure it out, please share!    

Dan_Stevens_
Level 10 - Champion Alumni

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

Jackie - I just came across your post today.  FYI, we're experiencing the same issues:

IDEA:

DISCUSSION: Marketo is rewriting/omitting a significant amount of code in our responsive emails withint he HEAD ...

We were originally told that this would be fixed in June, then August, and now the earliest is October.  Unfortunately, we cannot wait that long and therefore need to identify alternative solutions - like knak.​  A bit frustrated though that we would have to pay for a solution that should be capable within Marketo (where we have a huge portion of our budget).

Dan_Stevens_
Level 10 - Champion Alumni

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

I just did some thorough testing of customizable, responsive template services and have found that even these don't render properly when a user's Windows environment is set to 125% or 150% (we're finding most users have their scaling set to 125% on newer laptops due to the extremely high resolutions on a 12-14" display).  Here are the tests with a simple 2-column template from Knak (Pierce Ujjainwalla) - the one at 100% is how it should look across all three settings) - notice how the width expands beyond the desired 640px width, making the top banner look smaller and the right column area to extend beyond the width that was initially set for the right column.  Again, this is a fairly basic layout.  More complex layouts look even worse.

knak-scaling.PNG

I don't think any service/design will be able to develop consistently-rendered, responsive emails/templates until Marketo stops stripping out the highlighted code below that's needed (within the <HTML> tag in the top portion of the HTML file - just after the DOCTYPE and above the <HEAD>) for these to render appropriately across all Windows scaling environments.  Fortunately, Marketo is working on this and it should be fixed with the October release (that's the latest I heard).

xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">

Dan_Stevens_
Level 10 - Champion Alumni

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

BTW, when testing our responsive templates in Campaign Monitor - where the two xmlns lines of code were left intact - the rendering of our emails was consistent across all three Windows scaling options (100%, 125%, and 150%).

Jason_Hamilton1
Level 8 - Champion Alumni

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

Thanks for all the legwork on this issue Dan, lloking forward to a resolution from Marketo.

Anonymous
Not applicable

Re: Marketo Removing Code for Image Scaling for Outlook at 125%dpi

Any fix for this yet?