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)
-   -   https and images in the {$ImagesDir}/ (https://forum.x-cart.com/showthread.php?t=9101)

Rob 08-26-2004 05:36 PM

https and images in the {$ImagesDir}/
 
Hope this is the right place to post this...

I share my SSL with my other clients. At checkout if customer is using CC they naturally get the secure "lock" showing the page as secure.

in the head.tpl file I changed the path of the logo from:
img src="{$ImagesDir}/logo.gif
to:
src="http://www.sitename/images/logo.gif

but when I use secure checkout it says "page contains secure and nonesecure items do you want to display nonsecure item?

If you answer yes, the secure "lock" does not show up in the browser.

So what I did to get around that is use the path:

src="https://www.mysecurelicense.com/~client/images/logo.gif
(this is how I share my license)

Now everything displays correctly, but I'm wondering if there is a better way to do this. Should I copy the images I am using to the directory that {$imagesDir} points to? How do I find out what directory that is? It seems like if I use the {$imagesDir} the SSL works fine.

Thanks for any imput 'cause I don't have a clue as to what I'm doing. If it weren't for the help of this newsgroup, I wouldn't even be up yet.

Rob

shan 08-27-2004 01:59 AM

put your images in skin1/images and use {$ImagesDir} to point to them :wink:

Rob 08-27-2004 08:14 AM

Thanks Shan I'll start doing that. I'm sure there is a down side to using the full address that I was using.


All times are GMT -8. The time now is 05:11 AM.

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