jrnetwork Posted February 22, 2007 Share Posted February 22, 2007 I have tried to change the 3 images that are used for the three payment statuses: Unpaid Paid Cancelled All I really want to change is the "unpaid" one as that does not sound "user friendly" and rather forceful.. I want something a bit nicer like "Now Due". I have kept the dimensions the same as the original, but when I upload the new image logo.png... the pdf then will not load correctly saying there is an error. I also tried changing to a .gif file instead, and changed the parameter in the pdfconfig file to the following: $pdf->Image(dirname(__FILE__).'/../images/invoices/'.strtolower($status).'.gif',120,65,50); but that also did not work. Is anyone able to suggest what may be going wrong? 0 Quote Link to comment Share on other sites More sharing options...
DataHosts Posted February 22, 2007 Share Posted February 22, 2007 all you would need to do is create a new .png file and upload to /images/invoices and replace unpaid.png Unless I am misunderstanding you. No need to go into the system and change anything 0 Quote Link to comment Share on other sites More sharing options...
jrnetwork Posted February 22, 2007 Author Share Posted February 22, 2007 Yeah I tried just doing a new image and calling it the same name.. but then the pdf fails. something so simple should just work, surely? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 22, 2007 WHMCS CEO Share Posted February 22, 2007 Yes, that should work. A gif file format will not however. The PDF file can only accept jpeg or png files. 0 Quote Link to comment Share on other sites More sharing options...
generic Posted February 22, 2007 Share Posted February 22, 2007 it works just fine by replacing the image, i did it myself about 1 month ago. your image must not be a real png or must be corrupt. you could rename the image in the pdf file too and use a jpg (thats what I did). 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted April 10, 2007 Share Posted April 10, 2007 On a related issue, would any of you be prepared to (attach or otherwise share) your "NOW DUE" file? 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.