Magento 2: Fails to upload a transactional email logo from adminMagento 2 : Transaction mail Logo And Footer Default LinksMagento 2.1.6 Unable to Set Transaction Email LogoAdding UPC in New Order Transactional Email templatecustom admin grid not rendering in Magento 2Magento 1.9.2.4 Store view based email content & logo not changingChanging LUMA LogoMagento 2 : Create Order from admin results in email error?Magento 2 : Add a new input field in custom checkout stepMagento2 admin logo showing 403 Forbidden errorMagento 2.1 Product Admin Image UploadMagento media queries in platform-Responsive emailsThumbnail role missing in product edit page admin
How do conventional missiles fly?
Blender 2.8 I can't see vertices, edges or faces in edit mode
Is it possible to download Internet Explorer on my Mac running OS X El Capitan?
UK: Is there precedent for the governments e-petition site changing the direction of a government decision?
I Accidentally Deleted a Stock Terminal Theme
I'm flying to France today and my passport expires in less than 2 months
Why is Collection not simply treated as Collection<?>
Is it legal for company to use my work email to pretend I still work there?
Alternative to sending password over mail?
intersection of two sorted vectors in C++
Assassin's bullet with mercury
Is it canonical bit space?
How much of data wrangling is a data scientist's job?
prove that the matrix A is diagonalizable
Has there ever been an airliner design involving reducing generator load by installing solar panels?
Why is consensus so controversial in Britain?
Why doesn't H₄O²⁺ exist?
Why does Kotter return in Welcome Back Kotter
A reference to a well-known characterization of scattered compact spaces
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
Can one be a co-translator of a book, if he does not know the language that the book is translated into?
What's the point of deactivating Num Lock on login screens?
Why does Arabsat 6A need a Falcon Heavy to launch
Emailing HOD to enhance faculty application
Magento 2: Fails to upload a transactional email logo from admin
Magento 2 : Transaction mail Logo And Footer Default LinksMagento 2.1.6 Unable to Set Transaction Email LogoAdding UPC in New Order Transactional Email templatecustom admin grid not rendering in Magento 2Magento 1.9.2.4 Store view based email content & logo not changingChanging LUMA LogoMagento 2 : Create Order from admin results in email error?Magento 2 : Add a new input field in custom checkout stepMagento2 admin logo showing 403 Forbidden errorMagento 2.1 Product Admin Image UploadMagento media queries in platform-Responsive emailsThumbnail role missing in product edit page admin
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to change transactional email logo from.
Admin > Content > Design > Configuration > Edit any record ->
Transactional Emails
It's on Magento 2.1 but logo showing broken image after save.
please refer attached screen shot.

magento-2.1 admin email
add a comment |
I'm trying to change transactional email logo from.
Admin > Content > Design > Configuration > Edit any record ->
Transactional Emails
It's on Magento 2.1 but logo showing broken image after save.
please refer attached screen shot.

magento-2.1 admin email
1
Image is not found so it show their . right click and Inspect element show image page and check it .may be you find solution
– Hitesh Vaghasiya
Jul 30 '16 at 9:37
1
after inspect element is showing /pub/media/email/logo/stores/1/email_logo.png but currently email logo saved in directory /pub/media/logo/websites/1/email_logo.png
– Lalit Kaushik
Jul 30 '16 at 9:46
1
I feel that it's bug in Magento 2.1
– Lalit Kaushik
Jul 30 '16 at 19:17
1
I am still facing this issue in Magento 2.1.3. Is there any solution other than changing in core files??
– BornCoder
Jan 13 '17 at 12:33
Running latest version of 2.2.6 this is still a problem. I tried manually creating the dirs and files with absolutely no success. It is beyond ridiculous that devs at magento have not solved some of the most basic CMS 101 features.
– Marco Yammine
Dec 9 '18 at 9:41
add a comment |
I'm trying to change transactional email logo from.
Admin > Content > Design > Configuration > Edit any record ->
Transactional Emails
It's on Magento 2.1 but logo showing broken image after save.
please refer attached screen shot.

magento-2.1 admin email
I'm trying to change transactional email logo from.
Admin > Content > Design > Configuration > Edit any record ->
Transactional Emails
It's on Magento 2.1 but logo showing broken image after save.
please refer attached screen shot.

magento-2.1 admin email
magento-2.1 admin email
edited Aug 25 '17 at 8:07
Teja Bhagavan Kollepara
3,00641949
3,00641949
asked Jul 30 '16 at 9:30
Lalit KaushikLalit Kaushik
38721127
38721127
1
Image is not found so it show their . right click and Inspect element show image page and check it .may be you find solution
– Hitesh Vaghasiya
Jul 30 '16 at 9:37
1
after inspect element is showing /pub/media/email/logo/stores/1/email_logo.png but currently email logo saved in directory /pub/media/logo/websites/1/email_logo.png
– Lalit Kaushik
Jul 30 '16 at 9:46
1
I feel that it's bug in Magento 2.1
– Lalit Kaushik
Jul 30 '16 at 19:17
1
I am still facing this issue in Magento 2.1.3. Is there any solution other than changing in core files??
– BornCoder
Jan 13 '17 at 12:33
Running latest version of 2.2.6 this is still a problem. I tried manually creating the dirs and files with absolutely no success. It is beyond ridiculous that devs at magento have not solved some of the most basic CMS 101 features.
– Marco Yammine
Dec 9 '18 at 9:41
add a comment |
1
Image is not found so it show their . right click and Inspect element show image page and check it .may be you find solution
– Hitesh Vaghasiya
Jul 30 '16 at 9:37
1
after inspect element is showing /pub/media/email/logo/stores/1/email_logo.png but currently email logo saved in directory /pub/media/logo/websites/1/email_logo.png
– Lalit Kaushik
Jul 30 '16 at 9:46
1
I feel that it's bug in Magento 2.1
– Lalit Kaushik
Jul 30 '16 at 19:17
1
I am still facing this issue in Magento 2.1.3. Is there any solution other than changing in core files??
– BornCoder
Jan 13 '17 at 12:33
Running latest version of 2.2.6 this is still a problem. I tried manually creating the dirs and files with absolutely no success. It is beyond ridiculous that devs at magento have not solved some of the most basic CMS 101 features.
– Marco Yammine
Dec 9 '18 at 9:41
1
1
Image is not found so it show their . right click and Inspect element show image page and check it .may be you find solution
– Hitesh Vaghasiya
Jul 30 '16 at 9:37
Image is not found so it show their . right click and Inspect element show image page and check it .may be you find solution
– Hitesh Vaghasiya
Jul 30 '16 at 9:37
1
1
after inspect element is showing /pub/media/email/logo/stores/1/email_logo.png but currently email logo saved in directory /pub/media/logo/websites/1/email_logo.png
– Lalit Kaushik
Jul 30 '16 at 9:46
after inspect element is showing /pub/media/email/logo/stores/1/email_logo.png but currently email logo saved in directory /pub/media/logo/websites/1/email_logo.png
– Lalit Kaushik
Jul 30 '16 at 9:46
1
1
I feel that it's bug in Magento 2.1
– Lalit Kaushik
Jul 30 '16 at 19:17
I feel that it's bug in Magento 2.1
– Lalit Kaushik
Jul 30 '16 at 19:17
1
1
I am still facing this issue in Magento 2.1.3. Is there any solution other than changing in core files??
– BornCoder
Jan 13 '17 at 12:33
I am still facing this issue in Magento 2.1.3. Is there any solution other than changing in core files??
– BornCoder
Jan 13 '17 at 12:33
Running latest version of 2.2.6 this is still a problem. I tried manually creating the dirs and files with absolutely no success. It is beyond ridiculous that devs at magento have not solved some of the most basic CMS 101 features.
– Marco Yammine
Dec 9 '18 at 9:41
Running latest version of 2.2.6 this is still a problem. I tried manually creating the dirs and files with absolutely no success. It is beyond ridiculous that devs at magento have not solved some of the most basic CMS 101 features.
– Marco Yammine
Dec 9 '18 at 9:41
add a comment |
8 Answers
8
active
oldest
votes
I also encountered this problem, and made a temporary solution :
I checked Magento/Config/Model/Config/Backend/Email/Logo and find this constant:
const UPLOAD_DIR = 'email/logo';
and changed it to:
const UPLOAD_DIR = 'logo';
also in Magento/Email/etc/di.xml, I replaced email/logo with just logo:
<item name="value" xsi:type="string">email/logo</item>
to:
<item name="value" xsi:type="string">logo</item>
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
add a comment |
The easiest work around without modifying code is to
1) create the directory pub/media/email/logo/default or pub/media/email/logo/stores/1/ (works on 2.1.2)
2) copy the logo to the directory manually.
3) Then via the correct procedure
Content > Design > Configuration > Edit > Transnational emails >
Now upload the same logo you you manually added to the newly created directory.
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
add a comment |
This is a bug in 2.1.2 and lower. After uploading the image, it goes to the wrong directory at pub/media/email/logo/websites/1/
It should be
pub/media/logo/websites/1/
File ref: app/code/Magento/Email/Model/AbstractTemplate.php
It's not yet included in the latest 2.1.2. You can just upload the image in the correct directory while waiting for the fix to be implemented in the next release.
add a comment |
The bug is still alive!
Follow these steps to correct it:
- create di.xml into you custom module
- add
<preference for="MagentoThemeModelDesignBackendLogo" type="VendorYouModuleNameModelDesignBackendLogo"/> - create the file VendorYouModuleNameModelDesignBackendLogo.php
- replace the const UPLOAD_DIR = 'logo'; with const UPLOAD_DIR = 'email/logo';
- Test it! ;)
add a comment |
This workaround worked for me:
Add a file named logo_email.png to a Magento_Email/web directory in your custom theme:
app/design/frontend/Vendor/yourtheme/Magento_Email/web directory
Copy the
<Magento_Email_module_dir>/view/frontend/email/header.html
file into a Magento_Email/email directory in your theme.
Edit the width and height attributes of the tag to reflect the area in which you want your logo to display (for example, 200 × 100).
Example:
if logo_width
width="var logo_width"
else
width="200"
/if
if logo_height
height="var logo_height"
else
height="100"
/if
You should leave the if/else conditional statement in place in case you ever want to override these values using the Admin.
add a comment |
Open the new email template, load any template and click on Preview. After preview click on the logo. It will show the path where Magento picks it. Go to the path, delete previous logo and upload. Your problem will be solved.
add a comment |
Magento fixed the bug in 2.2.6 version.
https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12
Here you have theire commit.
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
1
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
1
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
1
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
|
show 3 more comments
My solution for this bug.
1. Copy this module to app/code/Icube/EmailLogo
2. php bin/magento setup:upgrade
Deploy and clean cache.
https://github.com/quannh02/EmailLogoMagento2.1
add a comment |
protected by Community♦ Dec 9 '18 at 14:11
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
I also encountered this problem, and made a temporary solution :
I checked Magento/Config/Model/Config/Backend/Email/Logo and find this constant:
const UPLOAD_DIR = 'email/logo';
and changed it to:
const UPLOAD_DIR = 'logo';
also in Magento/Email/etc/di.xml, I replaced email/logo with just logo:
<item name="value" xsi:type="string">email/logo</item>
to:
<item name="value" xsi:type="string">logo</item>
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
add a comment |
I also encountered this problem, and made a temporary solution :
I checked Magento/Config/Model/Config/Backend/Email/Logo and find this constant:
const UPLOAD_DIR = 'email/logo';
and changed it to:
const UPLOAD_DIR = 'logo';
also in Magento/Email/etc/di.xml, I replaced email/logo with just logo:
<item name="value" xsi:type="string">email/logo</item>
to:
<item name="value" xsi:type="string">logo</item>
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
add a comment |
I also encountered this problem, and made a temporary solution :
I checked Magento/Config/Model/Config/Backend/Email/Logo and find this constant:
const UPLOAD_DIR = 'email/logo';
and changed it to:
const UPLOAD_DIR = 'logo';
also in Magento/Email/etc/di.xml, I replaced email/logo with just logo:
<item name="value" xsi:type="string">email/logo</item>
to:
<item name="value" xsi:type="string">logo</item>
I also encountered this problem, and made a temporary solution :
I checked Magento/Config/Model/Config/Backend/Email/Logo and find this constant:
const UPLOAD_DIR = 'email/logo';
and changed it to:
const UPLOAD_DIR = 'logo';
also in Magento/Email/etc/di.xml, I replaced email/logo with just logo:
<item name="value" xsi:type="string">email/logo</item>
to:
<item name="value" xsi:type="string">logo</item>
edited Jul 28 '17 at 21:35
Rafael Corrêa Gomes
4,64023265
4,64023265
answered Dec 2 '16 at 5:50
reuelabreuelab
19628
19628
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
add a comment |
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails
– Rajan Soni
Feb 23 '18 at 10:20
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
It's working but it will not reflect on the emails Same.any idea?
– Magento2 Devloper
Mar 21 '18 at 10:42
add a comment |
The easiest work around without modifying code is to
1) create the directory pub/media/email/logo/default or pub/media/email/logo/stores/1/ (works on 2.1.2)
2) copy the logo to the directory manually.
3) Then via the correct procedure
Content > Design > Configuration > Edit > Transnational emails >
Now upload the same logo you you manually added to the newly created directory.
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
add a comment |
The easiest work around without modifying code is to
1) create the directory pub/media/email/logo/default or pub/media/email/logo/stores/1/ (works on 2.1.2)
2) copy the logo to the directory manually.
3) Then via the correct procedure
Content > Design > Configuration > Edit > Transnational emails >
Now upload the same logo you you manually added to the newly created directory.
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
add a comment |
The easiest work around without modifying code is to
1) create the directory pub/media/email/logo/default or pub/media/email/logo/stores/1/ (works on 2.1.2)
2) copy the logo to the directory manually.
3) Then via the correct procedure
Content > Design > Configuration > Edit > Transnational emails >
Now upload the same logo you you manually added to the newly created directory.
The easiest work around without modifying code is to
1) create the directory pub/media/email/logo/default or pub/media/email/logo/stores/1/ (works on 2.1.2)
2) copy the logo to the directory manually.
3) Then via the correct procedure
Content > Design > Configuration > Edit > Transnational emails >
Now upload the same logo you you manually added to the newly created directory.
edited Nov 5 '18 at 16:54
Nolwennig
435315
435315
answered Jan 7 '17 at 23:28
Darren SutherlandDarren Sutherland
15819
15819
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
add a comment |
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
THIS IS STILL A PROBLEM IN VERSION 2.1.7 !!!
– styzzz
Jul 24 '17 at 22:11
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
this solution was surprisingly effective (remember to set the permissions)
– nicolallias
May 31 '18 at 7:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
its not working for me
– Sarvesh Tiwari
Jun 23 '18 at 16:44
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@ErSarveshVTiwari I had directory path for 2.1.2 version - It's work with your version ? Can you specifiy your version in response please
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
@styzzz I had directory path for 2.1.2 version - It's work with your 2.1.7 version ?
– Nolwennig
Nov 5 '18 at 16:12
add a comment |
This is a bug in 2.1.2 and lower. After uploading the image, it goes to the wrong directory at pub/media/email/logo/websites/1/
It should be
pub/media/logo/websites/1/
File ref: app/code/Magento/Email/Model/AbstractTemplate.php
It's not yet included in the latest 2.1.2. You can just upload the image in the correct directory while waiting for the fix to be implemented in the next release.
add a comment |
This is a bug in 2.1.2 and lower. After uploading the image, it goes to the wrong directory at pub/media/email/logo/websites/1/
It should be
pub/media/logo/websites/1/
File ref: app/code/Magento/Email/Model/AbstractTemplate.php
It's not yet included in the latest 2.1.2. You can just upload the image in the correct directory while waiting for the fix to be implemented in the next release.
add a comment |
This is a bug in 2.1.2 and lower. After uploading the image, it goes to the wrong directory at pub/media/email/logo/websites/1/
It should be
pub/media/logo/websites/1/
File ref: app/code/Magento/Email/Model/AbstractTemplate.php
It's not yet included in the latest 2.1.2. You can just upload the image in the correct directory while waiting for the fix to be implemented in the next release.
This is a bug in 2.1.2 and lower. After uploading the image, it goes to the wrong directory at pub/media/email/logo/websites/1/
It should be
pub/media/logo/websites/1/
File ref: app/code/Magento/Email/Model/AbstractTemplate.php
It's not yet included in the latest 2.1.2. You can just upload the image in the correct directory while waiting for the fix to be implemented in the next release.
answered Nov 8 '16 at 1:07
jehzlaujehzlau
3351418
3351418
add a comment |
add a comment |
The bug is still alive!
Follow these steps to correct it:
- create di.xml into you custom module
- add
<preference for="MagentoThemeModelDesignBackendLogo" type="VendorYouModuleNameModelDesignBackendLogo"/> - create the file VendorYouModuleNameModelDesignBackendLogo.php
- replace the const UPLOAD_DIR = 'logo'; with const UPLOAD_DIR = 'email/logo';
- Test it! ;)
add a comment |
The bug is still alive!
Follow these steps to correct it:
- create di.xml into you custom module
- add
<preference for="MagentoThemeModelDesignBackendLogo" type="VendorYouModuleNameModelDesignBackendLogo"/> - create the file VendorYouModuleNameModelDesignBackendLogo.php
- replace the const UPLOAD_DIR = 'logo'; with const UPLOAD_DIR = 'email/logo';
- Test it! ;)
add a comment |
The bug is still alive!
Follow these steps to correct it:
- create di.xml into you custom module
- add
<preference for="MagentoThemeModelDesignBackendLogo" type="VendorYouModuleNameModelDesignBackendLogo"/> - create the file VendorYouModuleNameModelDesignBackendLogo.php
- replace the const UPLOAD_DIR = 'logo'; with const UPLOAD_DIR = 'email/logo';
- Test it! ;)
The bug is still alive!
Follow these steps to correct it:
- create di.xml into you custom module
- add
<preference for="MagentoThemeModelDesignBackendLogo" type="VendorYouModuleNameModelDesignBackendLogo"/> - create the file VendorYouModuleNameModelDesignBackendLogo.php
- replace the const UPLOAD_DIR = 'logo'; with const UPLOAD_DIR = 'email/logo';
- Test it! ;)
answered Mar 29 '17 at 15:41
CasianCasian
111
111
add a comment |
add a comment |
This workaround worked for me:
Add a file named logo_email.png to a Magento_Email/web directory in your custom theme:
app/design/frontend/Vendor/yourtheme/Magento_Email/web directory
Copy the
<Magento_Email_module_dir>/view/frontend/email/header.html
file into a Magento_Email/email directory in your theme.
Edit the width and height attributes of the tag to reflect the area in which you want your logo to display (for example, 200 × 100).
Example:
if logo_width
width="var logo_width"
else
width="200"
/if
if logo_height
height="var logo_height"
else
height="100"
/if
You should leave the if/else conditional statement in place in case you ever want to override these values using the Admin.
add a comment |
This workaround worked for me:
Add a file named logo_email.png to a Magento_Email/web directory in your custom theme:
app/design/frontend/Vendor/yourtheme/Magento_Email/web directory
Copy the
<Magento_Email_module_dir>/view/frontend/email/header.html
file into a Magento_Email/email directory in your theme.
Edit the width and height attributes of the tag to reflect the area in which you want your logo to display (for example, 200 × 100).
Example:
if logo_width
width="var logo_width"
else
width="200"
/if
if logo_height
height="var logo_height"
else
height="100"
/if
You should leave the if/else conditional statement in place in case you ever want to override these values using the Admin.
add a comment |
This workaround worked for me:
Add a file named logo_email.png to a Magento_Email/web directory in your custom theme:
app/design/frontend/Vendor/yourtheme/Magento_Email/web directory
Copy the
<Magento_Email_module_dir>/view/frontend/email/header.html
file into a Magento_Email/email directory in your theme.
Edit the width and height attributes of the tag to reflect the area in which you want your logo to display (for example, 200 × 100).
Example:
if logo_width
width="var logo_width"
else
width="200"
/if
if logo_height
height="var logo_height"
else
height="100"
/if
You should leave the if/else conditional statement in place in case you ever want to override these values using the Admin.
This workaround worked for me:
Add a file named logo_email.png to a Magento_Email/web directory in your custom theme:
app/design/frontend/Vendor/yourtheme/Magento_Email/web directory
Copy the
<Magento_Email_module_dir>/view/frontend/email/header.html
file into a Magento_Email/email directory in your theme.
Edit the width and height attributes of the tag to reflect the area in which you want your logo to display (for example, 200 × 100).
Example:
if logo_width
width="var logo_width"
else
width="200"
/if
if logo_height
height="var logo_height"
else
height="100"
/if
You should leave the if/else conditional statement in place in case you ever want to override these values using the Admin.
answered Aug 6 '17 at 21:04
styzzzstyzzz
3432519
3432519
add a comment |
add a comment |
Open the new email template, load any template and click on Preview. After preview click on the logo. It will show the path where Magento picks it. Go to the path, delete previous logo and upload. Your problem will be solved.
add a comment |
Open the new email template, load any template and click on Preview. After preview click on the logo. It will show the path where Magento picks it. Go to the path, delete previous logo and upload. Your problem will be solved.
add a comment |
Open the new email template, load any template and click on Preview. After preview click on the logo. It will show the path where Magento picks it. Go to the path, delete previous logo and upload. Your problem will be solved.
Open the new email template, load any template and click on Preview. After preview click on the logo. It will show the path where Magento picks it. Go to the path, delete previous logo and upload. Your problem will be solved.
edited Nov 28 '17 at 22:02
user21075
1633513
1633513
answered Nov 28 '17 at 19:03
imaangemsimaangems
112
112
add a comment |
add a comment |
Magento fixed the bug in 2.2.6 version.
https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12
Here you have theire commit.
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
1
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
1
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
1
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
|
show 3 more comments
Magento fixed the bug in 2.2.6 version.
https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12
Here you have theire commit.
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
1
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
1
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
1
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
|
show 3 more comments
Magento fixed the bug in 2.2.6 version.
https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12
Here you have theire commit.
Magento fixed the bug in 2.2.6 version.
https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12
Here you have theire commit.
edited Nov 5 '18 at 16:54
Nolwennig
435315
435315
answered Aug 4 '16 at 9:24
Victor PiolinVictor Piolin
192
192
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
1
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
1
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
1
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
|
show 3 more comments
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
1
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
1
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
1
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
Is this fixed in 2.1? I have updated my 2.1 installation with composer but it doesn't seem to be fixed. How can we update?
– cha
Sep 19 '16 at 5:20
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
I don't know if it's fixed now. I make the change manually.
– Victor Piolin
Sep 19 '16 at 11:56
1
1
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
It's not yet fixed as of 2.1.2.
– jehzlau
Nov 8 '16 at 1:07
1
1
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
It's not yet fixed in 2.1.3 also.
– BornCoder
Jan 13 '17 at 12:34
1
1
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
Not fixed in 2.1.4, complete joke.
– LM_Fielding
Jul 7 '17 at 10:56
|
show 3 more comments
My solution for this bug.
1. Copy this module to app/code/Icube/EmailLogo
2. php bin/magento setup:upgrade
Deploy and clean cache.
https://github.com/quannh02/EmailLogoMagento2.1
add a comment |
My solution for this bug.
1. Copy this module to app/code/Icube/EmailLogo
2. php bin/magento setup:upgrade
Deploy and clean cache.
https://github.com/quannh02/EmailLogoMagento2.1
add a comment |
My solution for this bug.
1. Copy this module to app/code/Icube/EmailLogo
2. php bin/magento setup:upgrade
Deploy and clean cache.
https://github.com/quannh02/EmailLogoMagento2.1
My solution for this bug.
1. Copy this module to app/code/Icube/EmailLogo
2. php bin/magento setup:upgrade
Deploy and clean cache.
https://github.com/quannh02/EmailLogoMagento2.1
answered 6 hours ago
Nguyễn Hồng QuânNguyễn Hồng Quân
9117
9117
add a comment |
add a comment |
protected by Community♦ Dec 9 '18 at 14:11
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
1
Image is not found so it show their . right click and Inspect element show image page and check it .may be you find solution
– Hitesh Vaghasiya
Jul 30 '16 at 9:37
1
after inspect element is showing /pub/media/email/logo/stores/1/email_logo.png but currently email logo saved in directory /pub/media/logo/websites/1/email_logo.png
– Lalit Kaushik
Jul 30 '16 at 9:46
1
I feel that it's bug in Magento 2.1
– Lalit Kaushik
Jul 30 '16 at 19:17
1
I am still facing this issue in Magento 2.1.3. Is there any solution other than changing in core files??
– BornCoder
Jan 13 '17 at 12:33
Running latest version of 2.2.6 this is still a problem. I tried manually creating the dirs and files with absolutely no success. It is beyond ridiculous that devs at magento have not solved some of the most basic CMS 101 features.
– Marco Yammine
Dec 9 '18 at 9:41