Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Wrong use of barcode in my email

thibaultb473199
Level 4
Level 4

Hello everyone,

I have an issue with the rendering of a barcode in my email.

This is what I use for my barcode right now in my HTML template :

<tr>
<td style="padding: 5px 0 15px;" align="center">
<img src="https://campaign.kruidvat.be/barcode/tISBN/h70/s2/v<%= targetData.cardNumber %>/barcode.gif" width="179" height="70" style="min-width: 179px; display: block; color: #6c1a2c; font-family: Helvetica, arial, sans-serif; font-size: 13px; width: 179px; " alt="barcode" border="0">
</td>
</tr>

And this is the rendering in my email : 

OUTLOOK_OD2UcQlojx.png

The numbers of the cardNumber are displaying correctly but the first number doesn't want to appear. Normally, the cardNumber contains 13 numbers and in the barcode, only 12 numbers are displaying well. For certain purpose, we only want to use this type of barcode (tISBN)

Is there something wrong in this part of the HTML ?

Feel free to tell me if you need more information.

Thank you for your help.

Kind regards.

1 Accepted Solution
Amit_Kumar
Correct answer by
Community Advisor
Community Advisor

Hi, You have made a small mistake. you should use S1 instead of S2.

 

Regards,

Amit

 

View solution in original post

0 Replies
Amit_Kumar
Correct answer by
Community Advisor
Community Advisor

Hi, You have made a small mistake. you should use S1 instead of S2.

 

Regards,

Amit

 

View solution in original post

thibaultb473199
Level 4
Level 4

Hello Amit,

 

This fix my issue and the rendering looks great

Thank you !