MJHost Posted January 25, 2017 Share Posted January 25, 2017 Hey all, quick question, we have just had our new logo changed on our website. We have noted there seems to be an issue when viewing invoices, at: /viewinvoice.php the logo is appearing 10x bigger than it should be. See screenshot 1. When downloading a PDF of the invoice, the logo is then showing correctly. See screenshot 2. Is this something we have not done correctly? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 25, 2017 Share Posted January 25, 2017 Is this something we have not done correctly? on your homepage, the logo image dimensions are defined in the header code - they probably are in your invoicepdf.tpl template too... but in viewinvoice.tpl, they are likely not defined - so it's just displaying the logo image at full size. ... and your main logo ('Logo-01.png') is really 2200x833px - so that might explain why it looks rather large! 0 Quote Link to comment Share on other sites More sharing options...
MJHost Posted January 25, 2017 Author Share Posted January 25, 2017 on your homepage, the logo image dimensions are defined in the header code - they probably are in your invoicepdf.tpl template too... but in viewinvoice.tpl, they are likely not defined - so it's just displaying the logo image at full size. ... and your main logo ('Logo-01.png') is really 2200x833px - so that might explain why it looks rather large! Thank you once again brian! I added width/height into viewinvoice.tpl and all is well now. Thank you again, your a credit to the community. 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.