Open jack7anderson7 opened 5 years ago
Hi @jack7anderson7,
This issue has been confirmed to exist and is replicable in the latest 7.10.x version.
Thanks :+1:
It affects all images in pdf Quotes. I replicated it in https://demo.suiteondemand.com. SuiteCRM Logo in Quote template (https://demo.suiteondemand.com/themes/default/images/company_logo.png) is not inserted into layout. I checked in my v 7.11.8 - code added in commit d1279ca is missing in modules/AOS_PDF_Templates/PDF_Lib/mpdf.php Adding it does not fix the issue.
It affects all images in pdf Quotes. I replicated it in https://demo.suiteondemand.com. SuiteCRM Logo in Quote template (https://demo.suiteondemand.com/themes/default/images/company_logo.png) is not inserted into layout. I checked in my v 7.11.8 - code added in commit d1279ca is missing in modules/AOS_PDF_Templates/PDF_Lib/mpdf.php Adding it does not fix the issue.
May I ask why you added it then? ;-)
However, this problem still exists in 7.11.15.
I wanted to use this for adding signatures to the users' records and reference them within invoice templates...
Still exist
Version 7.11.20 Sugar Version 6.5.25 (Build 344)
After creating a PDF Template and adding the Product image as a variable, when printing as a PDF on the Quote record it does not display the image. I have tried both .png and .jpg image types and the error still occurs.
Issue
Shown above is the PDF Template I created.
This is showing the product has an image attached
Quote_Test_Quote.pdf Above is the result of 'Print as PDF'
Expected Behavior
Image should display correctly
Actual Behavior
Image does not display correctly
Possible Fix
Steps to Reproduce
Your Environment