Logo on PDF Not showing

bill amos
bill amos
Offline
1
Hi,

The logo on Invoice PDF is not showing its showing correct when we click on View Invoice Online and its set as absolute path. Can you please let me know also find the attached invoice for your reference.

Thanks
Attachments:
Responses (15)
  • Accepted Answer

    Saturday, January 05 2013, 10:22 AM - #Permalink
    0
    hmm... that's strange. can you try to place the image in a different URL? and try a different image? (just for testing)
    The reply is currently minimized Show
  • Accepted Answer

    bill amos
    bill amos
    Offline
    Saturday, January 05 2013, 11:06 AM - #Permalink
    0
    Hi germi,

    Thanks for the reply.

    I am facing same issue on another website too where i have installed it. Please look the attachments as i am attaching a PDF Invoice and a screenshot of the invoice that can be viewed online.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 05 2013, 11:17 AM - #Permalink
    0
    yes, yes, I saw it. the path seems correct (image exists)
    could it be a permissions problem? what permissions does the image have?

    please, try to change its location, just for testing :)
    The reply is currently minimized Show
  • Accepted Answer

    bill amos
    bill amos
    Offline
    Saturday, January 05 2013, 03:33 PM - #Permalink
    0
    Please check the attached invoice where i have changed the location but same issue the permission for the image in this location is read & execute.

    Please let me know if you need to check with the login details i can send you by email.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 05 2013, 05:02 PM - #Permalink
    0
    please, do send them to me. this is really strange!

    our email: joomlafinances@gmail.com
    The reply is currently minimized Show
  • Accepted Answer

    bill amos
    bill amos
    Offline
    Monday, January 07 2013, 10:35 AM - #Permalink
    0
    Hi,

    I have sent the email with details please check and let me know.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 07 2013, 10:36 AM - #Permalink
    0
    ok! got it, thanks :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 07 2013, 10:49 AM - #Permalink
    1
    Hello,

    I've just found out that in this particular case, if you use the relative path in the image (instead of absolute), the image is working... please check now. I changed it and when you render the PDF, it shows up.

    I've been looking around and this seems to happen sometimes in DomPDF
    The reply is currently minimized Show
  • Accepted Answer

    bill amos
    bill amos
    Offline
    Monday, January 07 2013, 11:22 AM - #Permalink
    0
    Hi,

    The logo is showing fine on PDF now, But when we click View Invoice Online the logo is not showing. Can you please check that as this seems to be issue because of relative path used.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 07 2013, 11:33 AM - #Permalink
    0
    I see this, but it's when you click it from the backend, correct? (it will show fine on the frontend)

    that's because when you see if from backend, since it's a relative path, it is adding the /administrator part to it.
    I'm working on a fix on this. but don't worry your users will see it fine,

    if it bothers you, you can just take your image and copy it in the same path, but on /administrator. do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    bill amos
    bill amos
    Offline
    Monday, January 07 2013, 02:29 PM - #Permalink
    0
    Hi,

    Thanks that's working fine in frontend sorry i didnt check.

    It was a good support.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 20 2014, 01:39 AM - #Permalink
    0
    Hi, I am getting the same issue but using the full URL does not allow the logo to be shown on both PDF and email.
    If a full URL is used then the PDF shows an error (attached) but the email works fine.
    If a relative URL is used then it is the opposite. PDF is good and email does not show the logo.

    Paul
    • Germinal Camps
      more than a month ago
      can you check if your PHP directive to open external files is active (to allow fopen() or file_get_contents)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 20 2014, 07:54 PM - #Permalink
    0
    I have asked the question from the service provider... I'll update you when I now.
    Strange how this is happening...

    Paul
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 20 2014, 08:12 PM - #Permalink
    0
    OK So they came back with this
    Hi Paul,

    Thank you for contacting us.

    allow_url_fopen is enabled by default on our servers.

    One thing however is that we do not allow for any loopback connections. That is a connection which calls back to the server. So if this is trying to make a connection such as this back to itself, you would find that this is blocked. However a call to a different server using these should be fine.
    • falconmedia
      more than a month ago
      ok so the answer to all of this is quite simple and it explains why this was happening.
      If the image was sitting on the same server as the component it causes a problem.
      The moment I added the image on a different domain and gave it a full URL all is sorted.

      At last !!! :-)
    • Germinal Camps
      more than a month ago
      well.. that should really not be a problem.. I'm not sure why it was causing issues to you..
      but, if you could solve it that way.. good job!! :)
    The reply is currently minimized Show
  • Accepted Answer

    ncforcha
    ncforcha
    Offline
    Tuesday, June 24 2014, 05:14 PM - #Permalink
    0
    I am having the exact same issue with the pdf logo. My company logo shows up correctly when I preview it. But when I email it or the pdf version doesn't changes. It keeps the default image. I have moved my image to so many different locations on the webserver and referenced it, and no change. I urgently need help. Permissions are set to 775
    • Germinal Camps
      more than a month ago
      are you changing the code on the template editor, not only on the main code, but also on the "email and PDF" tab?
    The reply is currently minimized Show
Your Reply