Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Display Image Inside Product Description using $AltImagesDir

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-20-2013, 07:58 AM
 
tartaglia tartaglia is offline
 

X-Adept
  
Join Date: May 2006
Location: Dallas, TX
Posts: 575
 

Default Display Image Inside Product Description using $AltImagesDir

What is the proper way to display an image as part of my product description?

I have tried:

Code:
<img src="{$AltImagesDir}/prod_desc_images/Hammig_Cut_sm.jpg" alt="Hammig_Cut" />

But it doesn't work.

Yes, I could hard code the path:

Code:
<img src="skin/ideal_comfort/images/prod_desc_images/Hammig_Cut_sm.jpg" alt="Hammig_Cut" />

But then all my product descriptions would break if I had to make a copy of my skin under a new name to work on a new design?

This can't be hard, can someone please help?
__________________
David Coggan
Carolyn Nussbaum Music Company
X-Cart v4.5.4 Gold +
LiteCommerce v2.2.41 (previous 6 years)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:25 PM.

   

 
X-Cart forums © 2001-2020