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

Emailing HOD to enhance faculty application

Can a virus destroy the BIOS of a modern computer?

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

How to model explosives?

Reserved de-dupe rules

What is the word for reserving something for yourself before others do?

How can saying a song's name be a copyright violation?

Combinations of multiple lists

What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?

Etiquette around loan refinance - decision is going to cost first broker a lot of money

Took a trip to a parallel universe, need help deciphering

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

How to take photos in burst mode, without vibration?

Doing something right before you need it - expression for this?

How to say in German "enjoying home comforts"

Facing a paradox: Earnshaw's theorem in one dimension

Why does Kotter return in Welcome Back Kotter

Should I tell management that I intend to leave due to bad software development practices?

Can I use a neutral wire from another outlet to repair a broken neutral?

Is it unprofessional to ask if a job posting on GlassDoor is real?

How to draw the figure with four pentagons?

Today is the Center

Is it canonical bit space?

How much of data wrangling is a data scientist's job?



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

                                                    Jet Time Laivasto | Lähteet | Aiheesta muualla | NavigointivalikkoJet Time - The CompanyThe CompanyManagementJet Time aloittaa lauantaina Suomi-rekisterissä olevalla Boeing 737 -koneellaJettime Finland Fleet Details and HistoryJettime Fleet Details and HistoryRegional Jet OÜ takes over ATR production for SASJet Time Returns To Its Core BusinessYhtiön kotisivutlaajentamalla

                                                    Olympian arkeologinen museo Sisällysluettelo Historia ja rakennus | Kokoelmat | Lähteet | Aiheesta muualla | Navigointivalikko37°38′36″N, 21°37′46″EInfobox OKArchaeological Museum of Olympia: HistoryArchaeological Museum of Olympia: DescriptionΜουσείο Ιστορίας των Ολυμπιακών Αγώνων της Αρχαιότητας: ΙστορικόArchaeological Museum of Olympia

                                                    Äpy Sisällysluettelo Äpyt kautta historian | Esimerkkejä Äpy-huumorista | Katso myös | Kirjallisuutta | Aiheesta muualla | Navigointivalikkowww.äpy.fi