Guest Posted December 24, 2003 Share Posted December 24, 2003 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 More sharing options...
Guest Posted December 24, 2003 Share Posted December 24, 2003 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.