Jump to content

Invoice Logo


MJHost

Recommended Posts

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?

 

SCREENSHOT INVOICE 1.png

SCREENSHOT INVOICE 2.png

Link to comment
Share on other sites

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! :oops:

Link to comment
Share on other sites

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! :oops:

 

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated