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)
-   -   Help with image in language variable (https://forum.x-cart.com/showthread.php?t=36640)

Widerimagellc 01-09-2008 01:02 PM

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

balinor 01-09-2008 02:52 PM

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">

Widerimagellc 01-09-2008 04:17 PM

Re: Help with image in language variable
 
Thank you! I could not find that answer anywhere!


All times are GMT -8. The time now is 07:29 PM.

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