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;








25















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.



enter image description here










share|improve this question



















  • 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


















25















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.



enter image description here










share|improve this question



















  • 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














25












25








25


5






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.



enter image description here










share|improve this question
















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.



enter image description here







magento-2.1 admin email






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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













  • 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











8 Answers
8






active

oldest

votes


















9














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>





share|improve this answer

























  • 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


















9














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.






share|improve this answer

























  • 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



















3














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.






share|improve this answer






























    1














    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! ;)





    share|improve this answer






























      1














      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.






      share|improve this answer






























        1














        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.






        share|improve this answer
































          1














          Magento fixed the bug in 2.2.6 version.



          https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12



          Here you have theire commit.






          share|improve this answer

























          • 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


















          0














          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






          share|improve this answer





















            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









            9














            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>





            share|improve this answer

























            • 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















            9














            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>





            share|improve this answer

























            • 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













            9












            9








            9







            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>





            share|improve this answer















            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>






            share|improve this answer














            share|improve this answer



            share|improve this answer








            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

















            • 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













            9














            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.






            share|improve this answer

























            • 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
















            9














            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.






            share|improve this answer

























            • 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














            9












            9








            9







            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.






            share|improve this answer















            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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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


















            • 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












            3














            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.






            share|improve this answer



























              3














              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.






              share|improve this answer

























                3












                3








                3







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 8 '16 at 1:07









                jehzlaujehzlau

                3351418




                3351418





















                    1














                    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! ;)





                    share|improve this answer



























                      1














                      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! ;)





                      share|improve this answer

























                        1












                        1








                        1







                        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! ;)





                        share|improve this answer













                        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! ;)






                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Mar 29 '17 at 15:41









                        CasianCasian

                        111




                        111





















                            1














                            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.






                            share|improve this answer



























                              1














                              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.






                              share|improve this answer

























                                1












                                1








                                1







                                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.






                                share|improve this answer













                                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.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Aug 6 '17 at 21:04









                                styzzzstyzzz

                                3432519




                                3432519





















                                    1














                                    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.






                                    share|improve this answer





























                                      1














                                      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.






                                      share|improve this answer



























                                        1












                                        1








                                        1







                                        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.






                                        share|improve this answer















                                        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.







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Nov 28 '17 at 22:02









                                        user21075

                                        1633513




                                        1633513










                                        answered Nov 28 '17 at 19:03









                                        imaangemsimaangems

                                        112




                                        112





















                                            1














                                            Magento fixed the bug in 2.2.6 version.



                                            https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12



                                            Here you have theire commit.






                                            share|improve this answer

























                                            • 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















                                            1














                                            Magento fixed the bug in 2.2.6 version.



                                            https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12



                                            Here you have theire commit.






                                            share|improve this answer

























                                            • 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













                                            1












                                            1








                                            1







                                            Magento fixed the bug in 2.2.6 version.



                                            https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12



                                            Here you have theire commit.






                                            share|improve this answer















                                            Magento fixed the bug in 2.2.6 version.



                                            https://github.com/magento/magento2/commit/23103c03c527fe1ed3e1a3be691436818b7963fe#diff-6b96f29ad945c7cea90267bd4f533218L12



                                            Here you have theire commit.







                                            share|improve this answer














                                            share|improve this answer



                                            share|improve this answer








                                            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

















                                            • 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











                                            0














                                            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






                                            share|improve this answer



























                                              0














                                              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






                                              share|improve this answer

























                                                0












                                                0








                                                0







                                                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






                                                share|improve this answer













                                                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







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered 6 hours ago









                                                Nguyễn Hồng QuânNguyễn Hồng Quân

                                                9117




                                                9117















                                                    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?



                                                    Popular posts from this blog

                                                    Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                                                    Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

                                                    Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»