ciaoweb Posted November 19, 2013 Share Posted November 19, 2013 Hello, I am having an issue on pdf invoices: The graphic logo look too big and also there is an unexpected big white padding above it. You can see a screenshot here: (click on top right to enlarge) https://www.evernote.com/shard/s32/sh/bf46c364-a58d-4f74-9343-8fec76921f74/497496f3723b0b170c7b2c34bead022d I made the logo much smaller so I would like this size to be shown on pdf invoices like the attachement. I tried to edit the invoicepdf.tpl same way as shown in previous posts with no success. Please can you help? Thanks Regards Roberto Ciccolella 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted November 19, 2013 Share Posted November 19, 2013 At the top of invoicepdf.tpl, you should see the following: # Logo if (file_exists(ROOTDIR.'/images/logo.png')) $pdf->Image(ROOTDIR.'/images/logo.png',20,25,75); elseif (file_exists(ROOTDIR.'/images/logo.jpg')) $pdf->Image(ROOTDIR.'/images/logo.jpg',20,25,75); else $pdf->Image(ROOTDIR.'/images/placeholder.png',20,25,75); You will need to adjust the 20,25,75 numbers to size the logo. Remember to clear the template cache (in the templates_c folder) after you make the changes. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 20, 2013 WHMCS Support Manager Share Posted November 20, 2013 Hi, Here's the relevant documentation: http://docs.whmcs.com/PDF_Invoice#Modifying_the_Logo 0 Quote Link to comment Share on other sites More sharing options...
ciaoweb Posted November 21, 2013 Author Share Posted November 21, 2013 Hello, Thanks for your help! Actually I was targeting the wrong invoice template file... Following your suggestions I was able to fix the issue. Regards Roberto Ciccolella 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.