Skip to main content
July 14, 2015
Question

Background image URL email token

  • July 14, 2015
  • 1 reply
  • 1860 views

Hello,

I was wondering if it is possible to use a token for the URL of a background image in an email? I am currently using the bulletproof backgrounds method of using a background image. you can see the syntax below of how the image is being used. I've tried both the text and RTF token to place the URL, but neither seemed to work?

<td background="IMAGE-URL-HERE" bgcolor="#3acaef" valign="top">

     <!--[if gte mso 9]>

        <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:580px;height:250px;">

             <v:fill type="tile" src="IMAGE-URL-HERE" color="#3acaef" />

             <v:textbox inset="0,0,0,0">

      <![endif]-->

Is this possible? Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

July 20, 2015

The plain text token should work to place the background image URL.

Plain Text Token: {{my.background-image}}

Token Value: img.memecdn.com/my-desktop-background_o_1157309.webp

<td background="{{my.background-image}}" bgcolor="#3acaef" valign="top" width="580" height="250">

     <!--[if gte mso 9]>

        <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:580px;height:250px;">

             <v:fill type="frame" src="{{my.background-image}}" color="#3acaef" />

             <v:textbox inset="0,0,0,0">

      <![endif]-->