Wrong use of barcode in my email

thibaultb473199

16-01-2020

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.

Accepted Solutions (1)

Accepted Solutions (1)

Amit_Kumar

MVP

16-01-2020

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

 

Regards,

Amit

 

Answers (0)