| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Images Not Displaying / Invisible | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I read the templating guide, and followed to the letter. I'm using the following to point to my image from the home page:
<img src="{$ImagesDir}/buy.gif"> The image is missing, not displaying, invisible. When I look at image properties in ie7 it says: https://www.mywebsite.com/%7B$ImagesDir%7D/buy.gif Any help is appreciated.
__________________
XCART 4.1.8 [Linux] |
|||||||||
#2
|
|||||||
|
|||||||
![]() By 'home page' do you mean the static index.html or home.php?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Quote:
home.php
__________________
XCART 4.1.8 [Linux] |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Any ideas anyone?
__________________
XCART 4.1.8 [Linux] |
|||||||||
#5
|
|||||||
|
|||||||
![]() What are you using to edit the template? That looks like the code is being converted to actual text instead of reading it as html.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
Most of my home page is in txt_welcome in languages.
__________________
XCART 4.1.8 [Linux] |
|||||||||
#7
|
|||||||
|
|||||||
![]() Ahhh...that's why. You can't use Smarty variables inside a language variable that way. Use this instead:
<img src="skin1/images/buy.gif" alt=""/>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||||
|
|||||||||
![]() That did it. Thanks again balinor!
__________________
XCART 4.1.8 [Linux] |
|||||||||
|
|||
X-Cart forums © 2001-2020
|