0
Hi,

Since the template for a pdf an e-mail are the same, I'm struggling with the logo of our client.

Seems that dompdf needs a full path to the image while generating the PDF-file. A URL just won't work (http://www.mydomain.com/...)

The e-mail needs the URL however and won't work with the full path to the file.

Is there any solution to this problem?

Accepted Answer

Friday, May 30 2014, 12:47 PM - #Permalink
0
Enabling "allow_url_fopen" did solve the problem... Thanks!
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Friday, May 30 2014, 11:43 AM - #Permalink
    0
    you should always use the full path (http://www.yourdomain...)
    if the PDF doesn't render it correctly, please check that in your PHP, the option of "fopen" (file_get_contents) is enabled.
    The reply is currently minimized Show
Your Reply