![]() |
Images Not Displaying / Invisible
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. |
Re: Images Not Displaying / Invisible
By 'home page' do you mean the static index.html or home.php?
|
Re: Images Not Displaying / Invisible
Quote:
home.php |
Re: Images Not Displaying / Invisible
Any ideas anyone?
|
Re: Images Not Displaying / Invisible
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.
|
Re: Images Not Displaying / Invisible
Quote:
Most of my home page is in txt_welcome in languages. |
Re: Images Not Displaying / Invisible
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=""/> |
Re: Images Not Displaying / Invisible
That did it. Thanks again balinor!
|
All times are GMT -8. The time now is 04:02 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.