Fixing images in the email templates
If you and your customers are seeing broken images in the email notifications sent by mPower, there is a high chance this issue is related to the misconfiguration of the Magento platform.
Instructions
The reason for this issue is that these emails are being sent by the CRON and this process has no access to the default store view configuration. There are two ways to fix the issue:
Add the following code to your
app/etc/env.php
file
'directories' => [
'document_root_is_pub' => true
],
Update the configuration
General > Web > Unsecure Base URLs
Static View Files =
unsecure_base_url/static/
User Media Files =
unsecure_base_url/media/
General > Web > Secure Base URLs
Static View Files =
unsecure_base_url/static/
User Media Files =
unsecure_base_url/media/
Either one of these two options will work, you don’t have to do both.