Zen Cart Logo
Forums / General Questions / SSL warning on some images

SSL warning on some images

Views: 1,301

Results 1 to 9 of 9
21 May 2010, 2:14 PM
#1
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

SSL warning on some images

Hi,

on my index page (define_main_page.php) using the admin define pages editor i have a few images.

These show great until you log in to the site, then a security SSL warning pops up... can and how do i make these images get delivered securely on SSL pages?

21 May 2010, 2:28 PM
#2
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: SSL warning on some images

i have worked it out...

open dreamweaver and go to includes/languages/english/html_includes/CUSTOM/define_main_page.php

make the link to the image relative. i.e. /images/mypicture.gif
then save, upload, set permission to 444

now, when i was in the admin>tools>define pages editor
when i uploaded the image via the built-in HTML editor, i entered the relative path (/images/mypicture.gif) but it didnt save it that way.. it saved it with the whole http://mysite.com/images/etc

is there a way to get around this via the admin end rather than building the page in the admin, then editing the file in a text editor?

21 May 2010, 2:30 PM
#3
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: SSL warning on some images

If your images are stored on the same server, make sure that they are referenced by a relative path (without the http://yourdomain/).

If you are using images from an external server then they should be referenced as https://

21 May 2010, 2:39 PM
#4
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: SSL warning on some images

alright fella?...

i am saving them as the relative path in the admin end, but when i save them its saving them as the full address...? i then have to go and edit the file manually etc... lol which defeates the point of having the HTML editor :frusty:

frank18:

If your images are stored on the same server, make sure that they are referenced by a relative path (without the http://yourdomain/).

If you are using images from an external server then they should be referenced as https://

21 May 2010, 3:03 PM
#5
bigal49 avatar

bigal49

Zen Follower

Join Date:
Mar 2010
Location:
California
Posts:
236
Plugin Contributions:
0

Re: SSL warning on some images

Do you two Ever speak English??? (LOL) :laugh:

I'l gonna try to take a summer class in either CSS or PHP this summer so I can understand a LITTLE bit of whats being said.

BTW which should I take first?? Any opinions?

AL

21 May 2010, 3:38 PM
#6
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: SSL warning on some images

haha... CSS all the way, i cant code a line of PHP!
i can change a DEFINE statement or swap an IF statement about but that's it!

anything more and im lost!

BigAl49:

Do you two Ever speak English??? (LOL) :laugh:

I'l gonna try to take a summer class in either CSS or PHP this summer so I can understand a LITTLE bit of whats being said.

BTW which should I take first?? Any opinions?

AL

22 May 2010, 1:52 AM
#7
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: SSL warning on some images

Shane78:

alright fella?...

i am saving them as the relative path in the admin end, but when i save them its saving them as the full address...? i then have to go and edit the file manually etc... lol which defeates the point of having the HTML editor :frusty:

That's the (stupid) nature of HTML Editor. I stopped using that :censored: application and upon advice from DrByte swapped to CKEditor (available from the Free Downloads)

22 May 2010, 10:02 AM
#8
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: SSL warning on some images

i remember DrB saying that same to me but when i tried to install it, it didnt work

i checked my webspace and all the ckeditor files were there, but when i go into admin and selected a page to edit, there is no editor there.... just blank space where it should be.

the two default editors appear when selected from the drop down menu, but not the ckeditor one... never got a reply from my support thread about it so i sacked it off.

22 May 2010, 4:47 PM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: SSL warning on some images

Kuroi posted a link to the CK editor "fix" earlier today...