SOLVED

Using Tokens to Swap Images in Email

Go to solution
Anonymous
Not applicable

Using Tokens to Swap Images in Email

I am looking to create an email that switches out logo images to recipients based on their assigned dealer, however the logos we will be inserting are all different sizes and different aspect ratios. What would be the best way to use tokens to perform this task while at the same time ensuring the best visual appearance to the recipient?

Tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Justin_Cooperm2
Level 10

Re: Using Tokens to Swap Images in Email

The best way is to use Email Scripting. You can use conditional logic to determine who the assigned dealer is, then insert a different block of HTML as a result of that lookup. Each HTML block should have the appropriate inline styling to ensure the logo image looks good within the block.

View solution in original post

2 REPLIES 2
Grégoire_Miche2
Level 10

Re: Using Tokens to Swap Images in Email

Hi Adam,

The solution depends on the variability. How many variations do you have ? If it's a handful, then you may want to use a segmentation and dynamic content.

If there a lot of possible variants, then you may use lead fields to set the image and may be also the dimensions.

Last, and could be combined with solution #2, is to use email script tokens.

-Greg

Justin_Cooperm2
Level 10

Re: Using Tokens to Swap Images in Email

The best way is to use Email Scripting. You can use conditional logic to determine who the assigned dealer is, then insert a different block of HTML as a result of that lookup. Each HTML block should have the appropriate inline styling to ensure the logo image looks good within the block.