PDA

View Full Version : PDF invoice shows WHMCS logo still... how can I change it?



johnh
03-23-07, 01:40 AM
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

Adam
03-23-07, 01:49 AM
Hey,

You have to edit includes/pdfconfig.php and change the path to the image or remove it.

From,
Adam

Matt
03-23-07, 12:15 PM
Or just edit the image in the file images/logo.jpg

johnh
04-04-07, 07:02 PM
//$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

johnh
04-07-07, 04:51 PM
Anyone? know?

Adam
04-07-07, 05:29 PM
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

johnh
04-07-07, 05:55 PM
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?

Adam
04-07-07, 06:08 PM
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

johnh
04-07-07, 06:28 PM
Okay, I will try it...

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!