X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Images not showing on https pages (https://forum.x-cart.com/showthread.php?t=26337)

Warwick 11-03-2006 07:03 AM

Images not showing on https pages
 
I've searched the forums but can't seem to find the answer to the problem I have:
there are no images showing on any https page ... can somebody shed some light on this?

Thanks in advance.

balinor 11-03-2006 07:37 AM

Re: Images not showing on https pages
 
Product images or non-product images?

Warwick 11-03-2006 07:38 AM

Re: Images not showing on https pages
 
non product images

balinor 11-03-2006 07:40 AM

Re: Images not showing on https pages
 
Did you call them using this code:

<img src="{$ImagesDir}/imagename.jpg">

if not, that is what you need to do, and put all the images in the skin1/images directory.

Warwick 11-03-2006 07:43 AM

Re: Images not showing on https pages
 
I understand what you mean with your suggestion but I haven't changed anything regarding the root to any image and when I switch from https://www.mydomain.com to http://www.mydomain.com they show immediately ... strange right? Even my admin section (also under https) doesn't show images.

balinor 11-03-2006 07:46 AM

Re: Images not showing on https pages
 
Well, how do you have your images coded?

neroag 11-03-2006 07:46 AM

Re: Images not showing on https pages
 
Is it possibly a shared SSL & the secure directory may be different from the http directory, just a thought :-)

Warwick 11-03-2006 07:49 AM

Re: Images not showing on https pages
 
Quote:

Originally Posted by balinor
Well, how do you have your images coded?


Sorry how do you mean? Like <img src="{$ImagesDir}/imagename.jpg">? If so, that's the case.

Warwick 11-03-2006 07:51 AM

Re: Images not showing on https pages
 
Quote:

Originally Posted by neroag
Is it possibly a shared SSL & the secure directory may be different from the http directory, just a thought :-)


I persume it's shared; would that be a problem?

How can I check if the secure directory is different from the http one? Check with my isp?

neroag 11-03-2006 07:55 AM

Re: Images not showing on https pages
 
No sorry i didnt read the post properly, if the SSL & HTTP were different Directories like sometimes happens with shared SSL certs you wouldnt get anything at all in https, it wouldnt just affect the images alone.

Warwick 11-03-2006 07:59 AM

Re: Images not showing on https pages
 
Quote:

Originally Posted by neroag
No sorry i didnt read the post properly, if the SSL & HTTP were different Directories like sometimes happens with shared SSL certs you wouldnt get anything at all in https, it wouldnt just affect the images alone.


I get everything, but not one 'non product' image, the product image(s) show though.

neroag 11-03-2006 08:13 AM

Re: Images not showing on https pages
 
Ive had a quick look at your site & its asking me for your cpanel password, so im assuming your images are somehow in a protected directory, you will need to check your .htaccess file on your site.

can i ask are you hosting yourself or through a hosting company ??

Warwick 11-03-2006 08:17 AM

Re: Images not showing on https pages
 
Quote:

Originally Posted by neroag
Ive had a quick look at your site & its asking me for your cpanel password, so im assuming your images are somehow in a protected directory, you will need to check your .htaccess file on your site.

can i ask are you hosting yourself or through a hosting company ??


My hosting is through a hosting company, I have cpanel access.

What should I check in my .htaccess file?

Warwick 11-03-2006 08:24 AM

Re: Images not showing on https pages
 
Ahaaa, I found the problem, call me dumb ... I have hotlink protection enabled and forgot to put in the https urls.

Thanks for all to help and sorry for my newbie mistake!


All times are GMT -8. The time now is 02:42 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.