![]() |
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. |
Re: Images not showing on https pages
Product images or non-product images?
|
Re: Images not showing on https pages
non product images
|
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. |
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.
|
Re: Images not showing on https pages
Well, how do you have your images coded?
|
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 :-)
|
Re: Images not showing on https pages
Quote:
Sorry how do you mean? Like <img src="{$ImagesDir}/imagename.jpg">? If so, that's the case. |
Re: Images not showing on https pages
Quote:
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? |
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.
|
Re: Images not showing on https pages
Quote:
I get everything, but not one 'non product' image, the product image(s) show though. |
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 ?? |
Re: Images not showing on https pages
Quote:
My hosting is through a hosting company, I have cpanel access. What should I check in my .htaccess file? |
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.