Hi,
We have some tags like {company_logo} in our ODT that displays company logo on the PDF
I am trying to edit the commondocgenerator.class.php file and created a variable:
$logotouse = DOL_URL_ROOT./viewimage=…
that results in var_dump of $logotouse as
<img src = /viewimage.php ?..> and the image is displayed for test.
However, when I try this through assigning a variable in thirdparty array and run “Generate ODT”, I only get the path URL but not the image.
Do I have to save the image file in a temp dir and show it in PDF…?
Please help.
thanks
yesee.