Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Nonsecure Item


Guest

Recommended Posts

I have an SSL enabled OS Commerce site at www.bodytropolis.com and just added one image (the free postage image). Since that addition I now get a message that there are nonsecure items on the site. How do I get that message to go away and to recognize that image as secure? Thanks.

Link to comment
Share on other sites

Make the HTTP:// is not hardcoded with the image...

 

bad way...

 

<img src=http://yourdomain.com/images/picture.gif>

 

good way...

 

<?php echo tep_image(DIR_WS_IMAGES . 'picture.gif'); ?>

 

Using the good way, you allow osCommerce to determine if the image should be displayed in SSL. In the bad way, you have no choice, its hard coded as HTTP://, so anytime its called, its non-secure.

 

Hope this helps.

 

-R

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...