trader Posted October 26, 2010 Share Posted October 26, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 26, 2010 WHMCS Support Manager Share Posted October 26, 2010 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? 0 Quote Link to comment Share on other sites More sharing options...
trader Posted October 26, 2010 Author Share Posted October 26, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 26, 2010 WHMCS Support Manager Share Posted October 26, 2010 Yes it needs to be /images/logo.jpg 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted October 26, 2010 Share Posted October 26, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.