admin管理员组

文章数量:1122832

I am using Perfex to generate my quotes and invoices. Perfex utilizes the TCPDF library to create PDF documents. However, since this morning, the logo of my company no longer appears in the generated quotes.

Here are some details:

  • The logo URL is valid and accessible via a web browser.
  • I have checked the permissions on the image file.
  • I tried embedding the logo using an image tag in the TCPDF code, but it still doesn’t work.
  • I also used the pdf_logo_url() function provided by Perfex, which generates an image URL, but the logo is still not displayed.

Here is an example of the code I used to display the logo:

$pdf->Image('.png', 10, 10, 50);

Despite this, the logo does not appear in the PDF. No errors are reported by TCPDF.

What I have tried:

  • Using a PNG.
  • Using an absolute path.
  • Using Perfex function pdf_logo_url()
  • Testing with a local image instead of a remote URL.

本文标签: phpLogo not displayed in quotes generated by TCPDF with PerfexStack Overflow