Skip to content

Magento 2.1 fails to load email_logo.png #5633

@PierAlex

Description

@PierAlex

Steps to reproduce
Magento 2.1 fresh installation and upgrade from 2.07 both
Also with cache enabled, disabled, flushed...
Try to upload a logo for email templates from Admin ->Content Design ->Configuration ->website ->transactional emails
Upload your logo file
Save

Expected result
New Logo for email is applied

Actual result
Previous Logo still remain

Back in the admin, in the image logo box there is the image broken icon.

image

I also create the Magento_Email/web folder under my custom theme (my fallback is Luma theme) and it does not take effects. Always Luma logo appears in the header of my e-mails (orders, invoices, shipments...).

Strange is that, just for testing, i overwrited the email_logo.png under Luma theme to see if it takes effect but nothing happens (?).

Then... back to the admin, i discover that the file is searched in pub/media/email/logo/website/<website_id>/filename.png

My Logo file was uploaded in pub/media/logo/website/<website_id>/filename.png.
No email folder in pub/media.

As a workaround, created the email folder under pub/media and saved my file (/logo/website/<website_id>/filename.png)

In the backend it takes effect and in the emails too!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions