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

https and images in the {$ImagesDir}/

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-26-2004, 05:36 PM
 
Rob Rob is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 83
 

Default 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
__________________
Rob
X-Cart version 4.6.3
Reply With Quote
  #2  
Old 08-27-2004, 01:59 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

put your images in skin1/images and use {$ImagesDir} to point to them
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 08-27-2004, 08:14 AM
 
Rob Rob is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 83
 

Default

Thanks Shan I'll start doing that. I'm sure there is a down side to using the full address that I was using.
__________________
Rob
X-Cart version 4.6.3
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 07:31 PM.

   

 
X-Cart forums © 2001-2020