View Full Version : PDF invoice shows WHMCS logo still... how can I change it?
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
Hey,
You have to edit includes/pdfconfig.php and change the path to the image or remove it.
From,
Adam
Or just edit the image in the file images/logo.jpg
//$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
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
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?
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
ecohosting
04-09-07, 04:14 AM
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!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.