| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
{$ImagesDir} -- best way to place images in product.tpl? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
{$ImagesDir} -- best way to place images in product.tpl?
I must be doing something wrong... can someone please guide me...
It is my understanding (please correct me if I am wrong) that it is a Very Good Idea (in fact, the best way) to put all images in the {$ImagesDir} (which I believe is /skin1/images - right?) - so that in case of https, there are no issues... so far so good, right? SO -- let's say I want to put an image embedded into the detailed product description... something like this: Code:
That doesn't work. If I change the image tage to: [img]/xcart/newimagedirectory/productname2.jpg[/img] then we're fine -- but this image will break if the site goes https, right? Am I doing something wrong? This image may need to be called up to https as it contains the color variants for the product and it may get called from the shopping cart... Is there a BEST WAY to insert images into a product detail page? Thanks, Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#2
|
|||||||
|
|||||||
Need to read this about how to put Smarty into the product description:
http://forum.x-cart.com/viewtopic.php?t=30643
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|