SOLVED

mktoImgWidth not working in 2.0 email templates

Go to solution
Pierce_Ujjainw3
Level 9

Re: mktoImgWidth not working in 2.0 email templates

This is a very important fix. Although we always put image placeholders in our templates that indicate the exact dimensions that a user should replace them with, these are often ignored or users are unsure what the parameters mean. As soon as these image dimensions are modified it completely throws off the responsiveness of an email, and its easy for a user to accidentally do.

Happy to hear that you are making some changes soon. Are you able to give us some insight into when we can expect these changes to happen so we can in turn communicate those dates to our Marketo clients?

Thanks.

Justin_Cooperm2
Level 10

Re: mktoImgWidth not working in 2.0 email templates

We're working on this functionality now, I expect < 1 month.

View solution in original post

Anonymous
Not applicable

Re: mktoImgWidth not working in 2.0 email templates

That is great news. Thanks for the explanation and update, Justin!

Grégoire_Miche2
Level 10

Re: mktoImgWidth not working in 2.0 email templates

Oh Yeah

Anonymous
Not applicable

Re: mktoImgWidth not working in 2.0 email templates

Also, is it possible for you to ensure that the height field is NOT mandatory for any images inserted into templates? This was never the case previously in Marketo, and it wreaks havoc with all fluid or fluid-hybrid templates.

Or perhaps mktoImgHeight could be set to "auto" which would prevent the height being mandatory.

Thank you!!

Grégoire_Miche2
Level 10

Re: mktoImgWidth not working in 2.0 email templates

Agreed.

-Greg

Justin_Cooperm2
Level 10

Re: mktoImgWidth not working in 2.0 email templates

Yes, we're implementing it. don't worry.

Anonymous
Not applicable

Re: mktoImgWidth not working in 2.0 email templates

Amazing! That's so exciting.

Thanks so much, Justin

Justin_Cooperm2
Level 10

Re: mktoImgWidth not working in 2.0 email templates

https://docs.marketo.com/display/DOCS/Release+Notes%3A+Summer+%2716

After the upcoming release, you can use mktoLockImgSize to lock "height" and "width" properties of the <img> in an image element. Likewise, you can use mktoLockImgStyle to lock the "style" property of the <img> in the image element.