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

Storing and Calling Images for Static Pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-06-2008, 07:04 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Storing and Calling Images for Static Pages

Hi,

If I store images in skin1/images directory and wish to call them for use in static pages, what HTML code should I use please? Or is this not possible?

Sorry if this is a stupid question but I'm having trouble getting my head around Smarty.
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote
  #2  
Old 02-06-2008, 07:30 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Storing and Calling Images for Static Pages

<img src="{$ImagesDir}/imagename.jpg" />

Need to be sure you have the 'Parse Smarty..' checkbox checked on the static pages page.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-07-2008, 04:57 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Re: Storing and Calling Images for Static Pages

Thanks Balinor
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:39 PM.

   

 
X-Cart forums © 2001-2020