Jump to content

WHMCS Invoice Logo (slightly different question)


trader

Recommended Posts

Hi,

 

I have updated the invoicepdf.tpl to show my logo on invoices, but the logo is not showing. It just shows my company name in text format instead.

 

I have a feeling that I may have changed someting in setup so that the invoice just shows my company name instead of the logo, but for the life of me I cant see where.

 

Anyone know where in WHMCS I can find these settings?

 

Matt.

Link to comment
Share on other sites

The invoicepdf file will show your company logo.jpg uploaded from the /images directory as standard so no modification should be necessary. What change did you make?

 

Thats just it John, I dont remember making any changes. Does the image have to be a .jpg? or can I use other formats? I'm using a .gif at the moment.

 

Matt.

Link to comment
Share on other sites

Thats just it John, I dont remember making any changes. Does the image have to be a .jpg? or can I use other formats? I'm using a .gif at the moment.

 

Matt.

 

You can also use a .gif. If you want to, just upload your logo to the /image/ directory and change line 3 in your /templates/portal/invoicepdf.tpl to the correct name of your logo:

$pdf->Image(ROOTDIR.'/images/yourlogoname.gif',20,25);

 

However, I recommend to use the JPG format. The quality from the JPG logo's in the TCPDF generated invoices is better than a .gif image.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated