View Single Post
  #5  
Old 06-10-2011, 01:00 PM
 
Sunray Sales Sunray Sales is offline
 

Senior Member
  
Join Date: Dec 2010
Posts: 194
 

Default Re: Image url for home page welcome text

Quote:
Originally Posted by cflsystems
Try with <img src="`$ImagesDir`/thomepagepic.jpg"> or specify relative path instead of $ImagesDir. You can't use {smarty_variable} in language variable

Thanks Steve this worked for me, I put a post about using relative paths for putting images in descriptions for categories, and I removed the full URL and it worked.

Since you can only put html in the description of categories, no smarty or PHP, I was simply left with:

<img alt="" src="images/printing_stamps_imgs/Self_Inking_Custom_Stamps.jpg" />

Now when I move my cart from a subfolder to the root, I won't have to modify these urls, since it is relative.

Thanks again!
__________________
4.4.2
www.sunraysales.com
HandsOnWebHosting
Reply With Quote