jj1987 Posted April 8, 2008 Share Posted April 8, 2008 How do I change this? $pdf->Image(dirname(__FILE__).'/../images/logo.jpg',15,10,50); I'm assuming something to do with that line in pdfconfig.php? 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted April 8, 2008 Share Posted April 8, 2008 Have you tried playing with the figures at the end. I assume two are the X-Y positions and one is maybe size. Does the image get stretched if you just replace it? 0 Quote Link to comment Share on other sites More sharing options...
jj1987 Posted April 8, 2008 Author Share Posted April 8, 2008 i could assume two were x/y, but then the "z" wouldn't have an explanation. 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted April 8, 2008 Share Posted April 8, 2008 Did you try modifying it and see if done anything. I have a feeling it may change the size. In GD, an image function for PHP there is 3 image values. One is size (either a number or a variable to more detailed size/font information etc), and the other two are X and Y positions. I was thinking it could be the same in this. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted April 8, 2008 WHMCS CEO Share Posted April 8, 2008 The FPDF manual has info on this - see http://www.fpdf.org/en/doc/image.htm Matt 0 Quote Link to comment Share on other sites More sharing options...
jj1987 Posted April 10, 2008 Author Share Posted April 10, 2008 The FPDF manual has info on this - see http://www.fpdf.org/en/doc/image.htm Matt Thanks, that's what I was looking for 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.