brvhosting Posted July 19, 2018 Share Posted July 19, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 20, 2018 Share Posted July 20, 2018 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}" /> 0 Quote Link to comment Share on other sites More sharing options...
SyberCore Posted July 27, 2018 Share Posted July 27, 2018 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 0 Quote Link to comment Share on other sites More sharing options...
SyberCore Posted July 27, 2018 Share Posted July 27, 2018 Sorry, Each invoice. 0 Quote Link to comment Share on other sites More sharing options...
SyberCore Posted July 27, 2018 Share Posted July 27, 2018 Screen Shot 2018-07-27 at 12.19.55 AM.png.pdf 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 28, 2018 Share Posted July 28, 2018 On 27/07/2018 at 06:28, SyberCore said: Screen Shot 2018-07-27 at 12.19.55 AM.png.pdf 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} 0 Quote Link to comment Share on other sites More sharing options...
Haanh Kieu Posted October 10, 2018 Share Posted October 10, 2018 defining a size (width/height or class) in the <img src> code 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.