Logo images not showing when preview

0
I can find the logo in invoice when access it from front end, but cannot see the logo when I do preview at the back end - image not readable or empty. How to fix it? Thanks
Responses (6)
  • Accepted Answer

    Saturday, July 11 2015, 11:44 AM - #Permalink
    0
    make sure to include the logo URL path in the template as an absolute path (including the site's root)
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 11 2015, 08:54 PM - #Permalink
    0
    Thanks, problem fixed.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 13 2015, 12:45 AM - #Permalink
    0
    After putting the absolute path of logo, eg. , I can see the see the logo online - front and back end. However, now the logo disappears from the pdf file (images not readable or empty). I switched back to default template, this problem still existed.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 13 2015, 11:22 AM - #Permalink
    0
    Please, make sure that the PHP directive "allow_url_fopen" is enabled in your server.
    The reply is currently minimized Show
  • Accepted Answer

    JILK
    JILK
    Offline
    Monday, August 15 2016, 02:53 AM - #Permalink
    0
    Is there a resolution to this? I have PHP directive "allow_url_fopen" is enabled on my server and I have put in the absolute path but I still can't see the logo in the PDF.

    (I'm running v1.4.9 but don't want to purchase an upgrade if the system has bugs and if I can expect to get less that 1 year of bug free use.)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 15 2016, 08:28 AM - #Permalink
    0
    the solution is to have allow_url_fopen enabled and to use absolute paths, just like you described... This is required in order for DomPDF to be able to render the image.
    Any other user that had this problem solved it by doing this... it's not a bug, it's a requirement of the system that the PDF library needs in order to work.

    If you're having this problem after having done this, there must be some other server config that is causing it...
    The reply is currently minimized Show
Your Reply