Page 1 of 1

Problem with showing image in Output Document

Posted: Fri Mar 13, 2020 3:20 pm
by marcosfpa
Problem with showing image in Output Document:

Having to show in the body of the document a JPG image where the URL is stored in a variable by a trigger (@ = urlImagem).
However does not generate the document in PDF, gives the error below:
err-output_doc.png
err-output_doc.png (15.85 KiB) Viewed 8144 times
The strange thing is that .doc generates without errors. My PM is 3.3.10.

Re: Problem with showing image in Output Document

Posted: Sat Mar 14, 2020 2:36 am
by jemiris
Hi,
Just create a trigger that will set the value of @@url to "https://google.com" , depending upon the value of a url in a Dynaform.
Note: Set this trigger to fire before the step that generates the output document.

Re: Problem with showing image in Output Document

Posted: Sat Mar 14, 2020 7:39 am
by marcosfpa
I've done this. I define a url for an image file as http: \\site.com\image.jpg and in the document I include an image with <img src =@#url> to show the image in the body of the document. However, it gives the error exposed above when trying to generate the PDF. No error when generating .doc ...

Re: Problem with showing image in Output Document

Posted: Mon Mar 16, 2020 12:39 am
by jemiris
Yes, I too got the same issue with pdf can you try following this documentation. This solved my issue.upload the image in public files and access.sure it will work
https://forum.processmaker.com/viewtopic.php?t=736475

Re: Problem with showing image in Output Document

Posted: Mon Mar 23, 2020 8:35 am
by marcosfpa
The link in my case is not for public files, but external. So this solution does not meet ...

Does anyone have any more ideas on how to solve?