Re: Help making images secure in ssl mode

Originally Posted by
DrByte
What do you mean by "it would not work the way you suggested"?
What do you mean by "it would not work"?

Originally Posted by
kobra
Make your links to them "relative"
change these & any others
Code:
<img src="http://www.bodykitsonline.co.uk/includes/templates/custom/images/cart_top.jpg"
<img src="http://www.bodykitsonline.co.uk/includes/templates/custom/images/button_view.jpg"
<img src="http://www.bodykitsonline.co.uk/includes/templates/custom/images/button_checkout.jpg"
To:
Code:
<img src="includes/templates/custom/images/cart_top.jpg"
<img src="includes/templates/custom/images/button_view.jpg"
<img src="includes/templates/custom/images/button_checkout.jpg"
I made my image links relitave and they would not show up because of the SSL. My main page gets opened as (https:) after you either use the login box add on or the contest add on. I believe the problem arrises because I am using a shared SSL certificate which has a diferent URL than the store in the config file.
define('HTTP_SERVER', 'http://MyDomainName.com');
define('HTTPS_SERVER', 'https://Name.Server.com/NameServerUsername');
define('DIR_WS_CATALOG', '/CelebrityStore/');
define('DIR_WS_HTTPS_CATALOG', '/CelebrityStore/');
Sorry, But I do not want to post my servers information in a public forum.
Last edited by beasleybub; 30 Sep 2009 at 06:50 PM.
How can there be nothing? Nothing is something!