X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Storing and Calling Images for Static Pages (https://forum.x-cart.com/showthread.php?t=37396)

pepperlibido 02-06-2008 07:04 PM

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.

balinor 02-06-2008 07:30 PM

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.

pepperlibido 02-07-2008 04:57 PM

Re: Storing and Calling Images for Static Pages
 
Thanks Balinor


All times are GMT -8. The time now is 08:40 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.