Post

2 followers Follow
0
Avatar

Barcode as an image in External Link Page or PDF

Hello,

I am trying to add an image to a external page or pdf.   The URL of the image is dynamic and includes a field from the Podio form.

 

How do I correctly format the HTML on the make pdf action to include the field?     Here is the url ... DATAHERE is the location of the podio field.


<img src="http://generator.barcodetools.com/barcode.png?gen=0&data=DATAHERE&bcolor=FFFFFF&fcolor=000000&tcolor=000000&fh=9&bred=&w2n=&xdim=&w=200&h=50&debug=1&btype=7&angle=0&quiet=1&balign=2&talign=2&guarg=1&text=1&tdown=1&stst=1&schk=0&cchk=1&ntxt=1&c128=0">

 

Thanks,

Jon

jonc

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Jon, 

I assume you are talking about the "make pdf action" in Globiflow, right?
If so you must create the HTML in a Custom Variable first and then add the variable to the PDF maker. 
Add a custom variable, call it e.g. image

image = '<img src="http://generator.barcodetools.com/barcode.png?gen=0&data='.[FIELD TOKEN DATAHERE].'&bcolor=FFFFFF&fcolor=000000&tcolor=000000&fh=9&bred=&w2n=&xdim=&w=200&h=50&debug=1&btype=7&angle=0&quiet=1&balign=2&talign=2&guarg=1&text=1&tdown=1&stst=1&schk=0&cchk=1&ntxt=1&c128=0">'

[FIELD TOKEN DATAHERE]: Pick the field from the token list on the right side, must be blue after you've added it. 

If it doesn't work correctly you maybe have to url encode the token: urlencode([FIELD TOKEN DATAHERE])


Rainer

Rainer Grabowski 0 votes