Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Help with image in language variable

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-09-2008, 01:02 PM
 
Widerimagellc Widerimagellc is offline
 

Member
  
Join Date: Dec 2006
Location: Pittsburgh, PA
Posts: 23
 

Default Help with image in language variable

Hello All,

I am trying to insert a few images into my welcome txt and I am using basic code
<img src="{$ImagesDir}/imagename.jpg">
and my file is uploaded to the proper directory, but no matter how much i simplify and try different images, each time i get a blank space, and when i have an ALT tag, i get the alt tag every single time. I've tried using the WYSIWYG editor as well and that didn't work. When i paste the code just into the welcome.tpl file everything works.

why isn't the same thing working in my language txt??? Any help is appreciated!

Thanks
Mike
__________________
www.widerimage.com
XCART version 4.1.8
Reply With Quote
  #2  
Old 01-09-2008, 02:52 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Help with image in language variable

It won't work in a language variable, in a language variable you need to use:

<img src="skin1/images/imagename.jpg">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-09-2008, 04:17 PM
 
Widerimagellc Widerimagellc is offline
 

Member
  
Join Date: Dec 2006
Location: Pittsburgh, PA
Posts: 23
 

Default Re: Help with image in language variable

Thank you! I could not find that answer anywhere!
__________________
www.widerimage.com
XCART version 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020