Again I'm here with this PDF issue, I can put the images inside the PDF, but even though I put the directory of different images one always overlaps the other, I've tried several things and so far I haven't been able to solve this problem
I believe that the crucial part is within the template node
specifically on this line, but I don't know how to differentiate the payloads here in a way that accepts it, whenever I try node-red dies
My flow down:
[{"id":"54ef025d.56fccc","type":"template","z":"2521f04f9179ef7d","name":"","field":"payload","fieldType":"msg","format":"json","syntax":"mustache","template":"{\n    \"pageSize\": \"A4\",\n    \"pageOrientation\": \"portrait\",\n    \"pageMargins\": [\n        40,\n        60,\n        40,\n        60\n    ],\n    \"info\": {\n        \"title\": \"awesome Document\",\n        \"author\": \"john doe\",\n        \"subject\": \"subject of document\",\n        \"keywords\": \"keywords for document\"\n    },\n    \"content\": [\n        {\n            \"text\": \"Logo São Paulo Skills\",\n            \"alignment\": \"center\",\n            \"margin\": [\n                0,\n                0,\n                0,\n                20\n            ]\n        },\n        {\n            \"image\": \"data:image/jpeg;base64,{{{payload}}}\",\n            \"width\": 200,\n            \"alignment\": \"center\",\n            \"margin\": [\n                0,\n                0,\n                0,\n                20\n            ] \n        },\n        {\n            \"image\": \"data:image/jpeg;base64,{{{payload}}}\",\n            \"width\": 201,\n            \"alignment\": \"center\"\n        }\n    ]\n}","output":"json","x":900,"y":300,"wires":[["bdd7feab.d9412"]]}]
            




