[SOLVED] - Image at Top of Desktop Email Sales Receipt Too Large - opencart-logo.png
Posted: Wed Dec 06, 2023 6:21 am
I am having problems changing the size of the image that is sent out as a header on my email receipts. This only is affecting my desktop email. The opencart-logo.png look great on the emails when I look at it on the mobile. I believe that the file that I believe is being sent out in my email receipts is image/catalog/opencart-logo.png and I have been messing around with that image with no success. It is the only image of the same name that is my emails and in my directory tree.
I have been trying to mess with catalog/view/template/mail/order_alert.twig
I thought that the following would be the area that I need to mess with/. I tried to add a border to the image but didn't have any results:
{% if logo %}
<a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ logo }}" alt="{{ store_name }}" style="margin-bottom: 20px; border: double;"/></a>
{% else %}
The problem is a MacOS Mail app related issue. When I go to gmail.google.com the logo image looks correctly and when I run my Windows Outlook it looks right too. It looks right in iPhone Mail app.
I have been trying to mess with catalog/view/template/mail/order_alert.twig
I thought that the following would be the area that I need to mess with/. I tried to add a border to the image but didn't have any results:
{% if logo %}
<a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ logo }}" alt="{{ store_name }}" style="margin-bottom: 20px; border: double;"/></a>
{% else %}
The problem is a MacOS Mail app related issue. When I go to gmail.google.com the logo image looks correctly and when I run my Windows Outlook it looks right too. It looks right in iPhone Mail app.