View Single Post
  #1  
Old 12-13-2003, 03:57 PM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default Adding Image to welcome.tpl??

Hello

Group I was trying to add a image to the welcome.tp page
Dremweaver added the following to the page which did work in DW:
<p align=center>[img]../../../files/myproducts/d_13.jpg[/img]</p>

However, when loaded up at the web site the picture did not show. The only way for me to get it to show up was use the full URL. Is there a better way of doing this?
<p align=center>http://www.mydomain.com/xcart/files/myproducts/d_13.jpg</p>

What I am asking is do I have to use the absolute path if I am adding an image to a page?

If I use a image in the image folder I found I can do the following and the image shows up great.
<p align=center>[img]{$ImagesDir}/xlogo.gif[/img]</p>

What I am trying to do is make some modifications in DW (if possible) so I can see what is going on.

What is the best way to make these modifications.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote