Forums / Templates, Stylesheets, Page Layout / My HTML emails not showing header.jpg

My HTML emails not showing header.jpg

Views: 854

Results 1 to 4 of 4
24 Jan 2012, 10:48 PM
#1
pmurray avatar

pmurray

New Zenner

Join Date:
Dec 2011
Posts:
19
Plugin Contributions:
0

My HTML emails not showing header.jpg

If i leave the HTML templates as the default:
<img src="email/header.jpg" alt="logo" />

The email just displays the red X

If i change it to point at:
<img src="www.rstuning.co.uk/zentest2/email/header.jpg" alt="logo" />

It works fine.

Is this because my site is currently sitting in a sub directory?

http://www.rstuning.co.uk/zentest2/index.php

I have searched the forum but can't seem to find an answer so any help is much appreciated as I would love to go live with the site ASAP :)

Using v1.5.0

Cheers

Paul

24 Jan 2012, 10:54 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: My HTML emails not showing header.jpg

What email-reading-program are you viewing the email in?

Sounds like your email program is ignoring the <base href> tag in the email, and thus can't find the image properly. If that's the case then either you need a smarter email program, or you'll need to manually edit all the html-email-templates to stuff a complete URL into them so that your email reading program's limitation can be overcome.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Jan 2012, 8:44 PM
#3
pmurray avatar

pmurray

New Zenner

Join Date:
Dec 2011
Posts:
19
Plugin Contributions:
0

Re: My HTML emails not showing header.jpg

Outlook or hotmail both do the same :unsure:

25 Jan 2012, 9:05 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: My HTML emails not showing header.jpg

I can't replicate your problem when using a fresh clean uncustomized install.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.