![]() |
Adding images to product description - popping up unsecure
I am adding a small image to my product description. I have added it using HTML. It's fairly simple code (ie img tag, that links an a href file that they can then download for free).
But I noticed when each page loads it asks - this page contains secure and non-secure items ... do you want to display non-secure items. If they choose no, then they will not be able to view the image and just the alt tags show up. Could someone tell me what I have done wrong and how to get rid of this message that pops up? Did I place the files and images in a section of xcart that is not secure? Is there a way of making this stuff secure so that my customers don't get that annoying little warning screen? Thanks LIsa |
Re: Adding images to product description - popping up unsecure
Well, what code did you use? You can't use http:// or it will cause an insecure warning.
|
Re: Adding images to product description - popping up unsecure
that was it ... thanks
I used the https:// and my secure server name ... and it took away the warnings. I didn't know that .... just used the url from the ftp instead of the secure url. thanks again |
Re: Adding images to product description - popping up unsecure
Well, you don't want to do that either, as https is much slower, and that will drag down your site. You want to use something like this:
<img src="images/imagename.jpg" alt="" /> Change the directory name and image name to reflect your actual situation. |
Re: Adding images to product description - popping up unsecure
OK, I avoided that because I am not a programmer and didn't know how to point the img tag to the relative directory.
If my product is at this url http://www.inthehoopdesigns.com/x-cart/product.php?productid=16630 what would be the relative img file? Right now I am using the absolute URL of https://inthehoopdesigns.secureserverdot.com/x-cart//files/master/designfest/January/ITHD-DecorativeSquares-4.jpg |
Re: Adding images to product description - popping up unsecure
I'd suggest putting the images at the top level of your site, maybe in the images or files directory, and calling them like this:
<img src="images/imagename.jpg" alt="" /> |
Re: Adding images to product description - popping up unsecure
when you refer to the top level of my site is the the directory that xcart is installed into? Would it be http://www.inthehoopdesigns.com/x-cart ? or is it http://www.inthehoopdesigns.com
My homepage is http://www.inthehoopdesigns.com/x-cart/home.php |
Re: Adding images to product description - popping up unsecure
Use exactly what I just posted. The root is the directory you have x-cart installed in, so the x-cart sub-folder.
You should actually move the site to the actual site root before you go live by the way, getting rid of that x-cart directory. |
Re: Adding images to product description - popping up unsecure
Welcome to the X-Cart forums nikkiknits ! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:
http://forum.x-cart.com/showthread.php?t=23970 Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your question correctly. Thanks! :) |
Re: Adding images to product description - popping up unsecure
Thank you I have changed it to show my version. I hope this works :)
|
All times are GMT -8. The time now is 02:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.