Iāve been working on a custom quote template for my company. I started by loading the āQuote Sampleā and modifying from there.
I changed the picture from the SuiteCRM logo to our company logo. The logo is displaying just fine in the PDF Template editor but when I try to āPrint to PDFā a test quote the image shows as broken (red X) in the PDF itself.
Hey, this is an old thread, but if others have this issue, I had this broken image in PDF templates and was able to fix it:
-make sure the image is in a writeable directory on the same server as your SuiteCRM install, not a link to an external website/ server (eg localhost/uploads/)
-make sure the image itself has the correct permissions. Iāve reapplied permissions countless times on our server, but a logo uploaded via FTP still had the default 644 file permissions. Change permission on the image to 775.
-use a relative path in the HTML link to the image, eg
I usually create one separate folder for an own logo and some other graphics like certificates etc. if needed and then include them from the separate folder.
If that should not work right away, there are a few settings in PHP / Apache to restrict loading images / remote images and similar.
I donāt know, why it is not working for me. I have added image URL like you and tried but it is showing just icon in the PDF.
Then I tried below and also only with http, then when I clicked on Generate PDF, system went into buffering mode(got very slow) and it did not download PDF.
Just corrected. I havenāt to put the absolute URL, only ā/suitedirectory/IMG.jpgā and insert it from Add image icon.
Do I need to save image at particular folder in the CRM?