bmartin Posted May 16, 2009 Share Posted May 16, 2009 I have the logo showing on the pdf's but the invoice data is covering it. I am attaching a screenshot to show what is happening. How can I fix this? Thanks 0 Quote Link to comment Share on other sites More sharing options...
cmo Posted May 16, 2009 Share Posted May 16, 2009 Same here. How do we fix this? 0 Quote Link to comment Share on other sites More sharing options...
wsa Posted May 17, 2009 Share Posted May 17, 2009 same here to 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted May 17, 2009 Share Posted May 17, 2009 either resize your image to the same height as the standard one that comes with whmcs or use the $pdf->image commands to auto resize your logo http://www.tecnick.com/pagefiles/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html#methodImage 0 Quote Link to comment Share on other sites More sharing options...
hightekhosting Posted May 17, 2009 Share Posted May 17, 2009 either resize your image to the same height as the standard one that comes with whmcs or use the $pdf->image commands to auto resize your logohttp://www.tecnick.com/pagefiles/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html#methodImage Either that or customise your PDF Invoice completely. 0 Quote Link to comment Share on other sites More sharing options...
atDev Posted May 20, 2009 Share Posted May 20, 2009 What logo file is it using for this? 0 Quote Link to comment Share on other sites More sharing options...
kahfluie Posted June 12, 2009 Share Posted June 12, 2009 Where does one go to customize the PDF format? 0 Quote Link to comment Share on other sites More sharing options...
striddy Posted June 13, 2009 Share Posted June 13, 2009 http://wiki.whmcs.com/PDF_Invoice 0 Quote Link to comment Share on other sites More sharing options...
ettiene Posted June 28, 2009 Share Posted June 28, 2009 It looks like the default image dimensions are 200 x 80. Also I had the same issue with the image being overlapped by the invoice text, so I modifed the invoicepdf.tpl file like so: line 4: Replace this code '$pdf->Image(ROOTDIR.'/images/logo.jpg',20,25);' with this code '$pdf->Image(ROOTDIR.'/images/logo.jpg',20,20);' Keep the current path/location to your image file as is, main thing is to make the y value less so the image moves up a bit, i.e. change 25 to 20 (or less if need be). Hope this helps. Ettiene 0 Quote Link to comment Share on other sites More sharing options...
gr2 Posted July 2, 2009 Share Posted July 2, 2009 trial and error v4 logo 305x112 $pdf->Image(ROOTDIR.'/images/logo.jpg',20,15,75,25); invoicepdf.tpl 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.