Default Alt value for mktoImg div element

0 Likes

Default Alt value for mktoImg div element

The MktoImg element enables to define where images should be in a guide LP template and in an email 2.0 template.

When using the div method, the template designer can even set a default image (mktoimgSrc attibute), but it is not possible to set the alt value of this image.

So we need to also have a mktoimgAlt attribute to set the defautl alt value.

-Greg

3 Comments
Justin_Cooperm2
Level 10

This is possible in v2.0 Email Templates.

Define it as follows and the "alt" attribute will be retained on the <img> even after the user selects one in the Email Editor.

<div class="mktoImg" id="exampleImg" mktoName="Example Image" mktoImgLink="http://www.marketo.com"

  <a><img alt="my image"></a>

</div>

Grégoire_Miche2
Level 10

Hi Justin,

Cool

Probably worth the addition to the doc, then.

-Greg

kh-lschutte
Community Manager
Status changed to: Already have it