X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Sending images through email template (https://forum.x-cart.com/showthread.php?t=3806)

John_E 07-30-2003 04:38 AM

Sending images through email template
 
Hi,

Im currently working on email templates with tables and want a very simple banner image at the top of the email.

In my profile_modified.tpl I have the image code as the following,

[img]{$ImagesDir}/Blue_background_top_94_stor.gif[/img]

but when I view it on the email, it shows an 'x' from image not loading? It has the image title, but doesnt perhaps seem to download it?

If I want to send via email template a simple banner image, anyone see anything wrong with the above or have their own single line code that works? I thought perhaps it might not like relative directory, but shouldnt it send the image on the email?

Anyone else had the same problem?

Any help greatly appreciated.

John_E :)

kpayne 07-30-2003 05:04 AM

I would just put the full path in there.

http://www.yoursite.com/xcart/skin1/images/Blue_background_top_94_stor.gif

I don't think that the $mail_smarty variable has any image information set.

Hope this helps!

John_E 08-01-2003 04:05 PM

Problem fixed
 
Thanks kpayne

It worked.

John_E :D


All times are GMT -8. The time now is 03:03 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.