Invoice PDF Print - Logo is a red x

I’ve search all over the web & people have encountered this issue, but I don’t see a solution.

I have created new invoice template. In the invoice template, the logo displays perfectly. However, when you go to an invoice & print as PDF the logo appears as a little red x.

My logo path is set to custom/themes/default/images/company_logo.png

Does anyone know why the logo is not displaying when you print to PDF?

Anyone have any ideas on this?

Are you using php 7 ? Might be related to https://github.com/salesagility/SuiteCRM/pull/2812

Simeon, this is the exact solution that I needed. It was definitely related to php 7.

THANKS!

I’ve just run into this problem running SuiteCRM v7.8.8

Yes, I’m running PHP7.0, and no, I’ve never encountered this problem before.

And no, there’s nothing in the SuiteCRM log file either.

Try using a JPG instead of a PNG.
I have had this error…

1 Like

Thanks SpudR - you nailed it. All logos are now present and correct after replacement by JPEGs.

Raised months ago and it got marked as ‘fixed’ apparently.

Guess not then (I still have the same issue too).