Jump to content
brvhosting

Big LOGO showing in emails

Recommended Posts

I tried everything to fix this logo size in each email but no luck. Can someone please help me out to fix this logo size issue. The logo which comes in invoice pdf is showing perfect size only this email logo needs to be fixed.

Screenshot from 2018-07-19 17-47-47.png

Share this post


Link to post
Share on other sites
22 hours ago, brvhosting said:

I tried everything to fix this logo size in each email but no luck. Can someone please help me out to fix this logo size issue. The logo which comes in invoice pdf is showing perfect size only this email logo needs to be fixed.

the logo image used in the emails is assigned from the setup -> general settings -> general -> Logo URL... so I think the simplest solution would be to resize the image file and upload it again.

alternatively, you could define a width in the relevant part of the Global Email Header Content under the mail tab in general settings, but I would have thought just resizing the actual image would be simpler.

<img src="{$company_logo_url}" style="max-width:600px;padding:20px" id="headerImage" alt="{$company_name}" />

 

Share this post


Link to post
Share on other sites

I tried everything to fix this logo size in each email but no luck. Can someone please help me out to fix this logo size issue. The logo which for the pdf and email is showing perfect size only this invoice logo needs to be fixed. I made the image smaller still no luck.  Thanks, Patrick

Share this post


Link to post
Share on other sites
On 27/07/2018 at 06:28, SyberCore said:

so this is the image used in the HTML invoice ?

if so, have you tried editing the viewinvoice.tpl template and defining a size (width/height or class) in the <img src> code...

{if $logo}
	<p><img src="{$logo}" title="{$companyname}" /></p>
{else}
	<h2>{$companyname}</h2>
{/if}

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines