signs Posted January 2, 2005 Posted January 2, 2005 I have been working on my site design and decided to change the header and use a background image instead of just a color. It worked great...until I tried out the cart features, logging in, etc. Now I am getting a warning about "this page contains both secure and unsecure..." and the only thing I can figure is that it's the background image. When I changed the code in the header.php, I put an absolute path for the background image because otherwise just putting background="image.gif" wasn't pulling it up. Does anybody know how to get around this and have the image display securely? TIA :D Jeri
Guest Posted January 2, 2005 Posted January 2, 2005 where did u put the image when you ftp'd it to the site?
signs Posted January 2, 2005 Author Posted January 2, 2005 where did u put the image when you ftp'd it to the site? <{POST_SNAPBACK}> I put it in the same folder (images) with the oscommerce.gif which I have replaced with my own image and it works just fine. It was all working fine with my logo named "oscommerce.gif" until I added that background image file to the header. Does it make any difference that it's a jpg and not a .gif? Jeri
boxtel Posted January 2, 2005 Posted January 2, 2005 I have been working on my site design and decided to change the header and use a background image instead of just a color. It worked great...until I tried out the cart features, logging in, etc. Now I am getting a warning about "this page contains both secure and unsecure..." and the only thing I can figure is that it's the background image. When I changed the code in the header.php, I put an absolute path for the background image because otherwise just putting background="image.gif" wasn't pulling it up. Does anybody know how to get around this and have the image display securely? TIA :D Jeri <{POST_SNAPBACK}> using absolute paths including http:// will always get you that message. Do not use them. Use style tag style="background-image: url(images/xxxx.gif);" Treasurer MFC
Guest Posted January 2, 2005 Posted January 2, 2005 Why not use <img src="<?php echo tep_image(DIR_WS_IMAGES . mycustomimage.gif ?>"> Put mycustomimage.gif in the catalog/images folder This is the same technique used in osCommerce, which will eliminate all problems with SSL. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.