johnh Posted March 23, 2007 Share Posted March 23, 2007 Hello, when I download PDF invoice shows WHMCS logo still... how can I change it? I like to use own logo on PDF file.. please give ma advice... Thanks 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted March 23, 2007 Share Posted March 23, 2007 Hey, You have to edit includes/pdfconfig.php and change the path to the image or remove it. From, Adam 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted March 23, 2007 WHMCS CEO Share Posted March 23, 2007 Or just edit the image in the file images/logo.jpg 0 Quote Link to comment Share on other sites More sharing options...
johnh Posted April 4, 2007 Author Share Posted April 4, 2007 //$pdf->Image(dirname(__FILE__).'/../images/logo.jpg',140,8,50); what is 140, 8 and 50 stand for? I changed this part to my logo, but it is not balanced well.. I think I need to change those three number... can you tell me? thanks 0 Quote Link to comment Share on other sites More sharing options...
johnh Posted April 7, 2007 Author Share Posted April 7, 2007 Anyone? know? 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted April 7, 2007 Share Posted April 7, 2007 Hey, Those numbers stand for the placement of where the logo will be. Width Height and <-- > across on the grid. You can read more on, http://www.fpdf.org/ From, Adam 0 Quote Link to comment Share on other sites More sharing options...
johnh Posted April 7, 2007 Author Share Posted April 7, 2007 so really I can not modify size of placement? because when I place my logo, it was too small... automatically resized... is there any way to change this? 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted April 7, 2007 Share Posted April 7, 2007 so really I can not modify size of placement? because when I place my logo, it was too small... automatically resized... is there any way to change this? Hey, Ya just change those numbers accordingly... From, Adam 0 Quote Link to comment Share on other sites More sharing options...
johnh Posted April 7, 2007 Author Share Posted April 7, 2007 Okay, I will try it... 0 Quote Link to comment Share on other sites More sharing options...
ecohosting Posted April 9, 2007 Share Posted April 9, 2007 I've had the same questions and after reading the manual from the link above here is what the 3 numbers represent. First number is the X coordinate Second is the Y coordinate Third is the logo size. I don't fully understand this one but I think it is merely the width, the proportions remain intact. The number does not represent pixels. I am not familiar with the units used to measure this out. I hope this helps. Cheers! 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.