Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
Transactional email images problem
 
golles
Sr. Member
 
Total Posts:  179
Joined:  2008-01-15
 

This has probably been covered before but I couldn’t find it:

I create new email templates from admin > transactional emails

create the new template based on the standard magento one e.g. new order template
change the wording, alt tags etc
upload a new logo_email.gif image to my skin/images folder.
refresh cache etc
the image still goes to the one in the default skin (i.e. not in the skin I am using)

the skin is configured ok in admin and works on the rest of the site but within an email template it always looks for the default skin location instead of the one I am using......the url that calls the image appears to be ok too , i.e. <img src="{{skin url="images/logo_email.gif" _area=’frontend’}}

has anyone any ideas why this is happening? anyone have the same issue?

I know it is probably something I have missed but can’t figure for the life of me what it is.

thanks very much

 
Magento Community Magento Community
Magento Community
Magento Community
 
AnnaM
Sr. Member
 
Avatar
Total Posts:  260
Joined:  2008-01-29
San Francisco
 

I have occasionally forund such things, and solved it by deleting /var/cache THe whole folder /cache It recreates itself right away. Might solve your probelm, might not.  But it has for me with similar things that seeem inexplicable like this.

 Signature 

Anna
Live Long and Prosper

 
Magento Community Magento Community
Magento Community
Magento Community
 
elong
Jr. Member
 
Total Posts:  17
Joined:  2008-02-15
 

I’ve noticed the same problem. I tried the cache thing mentioned in this thread already, and it didn’t help in my case. I’ve had to replace the logo in my default theme directory. So, I just need to be careful when I upgrade to make sure the old image doesn’t get reintroduced.

 
Magento Community Magento Community
Magento Community
Magento Community
 
adimagento
Magento Team
 
Avatar
Total Posts:  476
Joined:  2007-08-29
Los Angeles, CA
 

Did you change your store configuration to show the new theme under Design / Themes?

You should place this new image in your custom theme folder and then point to this new custom theme in your configuration.

/skin/frontend/default/my_theme/images/logo-email.gif

The store will find all the rest of the images missing in the default theme.  I hope this makes sense.

 Signature 

Adi
Community Administrator

 
Magento Community Magento Community
Magento Community
Magento Community
 
adimagento
Magento Team
 
Avatar
Total Posts:  476
Joined:  2007-08-29
Los Angeles, CA
 

Maybe try this:

<img src="{{skin url="images/logo_email.gif" _area=’frontend’ _theme=’your_theme’}}

 Signature 

Adi
Community Administrator

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andreas Karlsson
Jr. Member
 
Total Posts:  4
Joined:  2008-04-02
Norrköping, Sweden
 

@adimagento: It still doesn’t work, I just keep getting the default/default logo.

Has anyone come up with a solution to this problem?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ODB
Sr. Member
 
Avatar
Total Posts:  126
Joined:  2008-02-06
London
 

I had this this problem as well.

The code points to exactly the same place as working html emails, I think this could be a bug.

 
Magento Community Magento Community
Magento Community
Magento Community
 
adimagento
Magento Team
 
Avatar
Total Posts:  476
Joined:  2007-08-29
Los Angeles, CA
 

If you feel this is a bug, please open up a bug report and we will examine it.

 Signature 

Adi
Community Administrator

 
Magento Community Magento Community
Magento Community
Magento Community
 
fitabo.com
Jr. Member
 
Total Posts:  5
Joined:  2008-07-08
 

Same problem here, seems to be a bug.

in my case i made a new image file with a new name but even with the flag _theme=’my_theme’ it still points to the default/default direction… hmm lets wait wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
nikkstocks
Member
 
Total Posts:  47
Joined:  2008-06-08
 
adimagento - 13 June 2008 08:33 PM

Maybe try this:

<img src="{{skin url="images/logo_email.gif" _area=’frontend’ _theme=’your_theme’}}

This fixed it for me, though change the single quotes ‘ to double quotes “

 
Magento Community Magento Community
Magento Community
Magento Community
 
zadpro
Member
 
Avatar
Total Posts:  48
Joined:  2007-12-10
FL, USA
 
adimagento - 13 June 2008 08:33 PM

Maybe try this:

<img src="{{skin url="images/logo_email.gif" _area=’frontend’ _theme=’your_theme’}}

The following code worked for me
<img src="{{skin url="images/logo_email.gif" _area="frontend" _theme="your_theme"}}

there should be a “ instead of ‘ for area and theme

 Signature 

ZadPro.com
Professional, Affordable and Reliable Web and eCommerce Developer
Do you have Problem installing Magento? PM me.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
32091 users|366 users currently online|71970 forum posts