Jump to content

Mixed Content SSL image error


Recommended Posts

4 hours ago, MIfzal Mufthi said:

I have enabled SSL on my site and I get this yellow colour pad lock (part of this page are not secure such as images). How can I fix this? Please help me Sir.

Thanks in advance.

 

 

Check console (Ctrl + Shift + J)

Link to comment
Share on other sites

On 08/06/2018 at 2:41 AM, joseantgv said:

 

Check console (Ctrl + Shift + J)

 

Loading mixed (insecure) display content "http://www.eezzbuy.com/56-home_default/printed-dress.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/32-home_default/printed-dress.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/24-home_default/faded-short-sleeves-tshirt.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/84-home_default/printed-dress.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/47-home_default/printed-chiffon-dress.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/43-home_default/printed-summer-dress.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blockslideshow/1.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blockslideshow/2.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/72-home_default/printed-chiffon-dress.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/192-home_default/blouse.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blocklogo/1.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blocklogo/2.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blocklogo/3.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blocklogo/4.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blocklogo/5.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blocklogo/6.jpg" on a secure page[Learn More]  www.eezzbuy.com
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blockslideshow/2.jpg" on a secure page[Learn More]  v_30_fa1c7a8be3c1a7238c23ddb72e78adef.js:4:10698
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blockslideshow/1.jpg" on a secure page[Learn More]  v_30_fa1c7a8be3c1a7238c23ddb72e78adef.js:3:18726
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blockslideshow/1.jpg" on a secure page[Learn More]  v_30_fa1c7a8be3c1a7238c23ddb72e78adef.js:4:10698
Loading mixed (insecure) display content "http://www.eezzbuy.com/img/blockslideshow/2.jpg" on a secure page[Learn More]  v_30_fa1c7a8be3c1a7238c23ddb72e78adef.js:3:18726

 

Link to comment
Share on other sites

31 minutes ago, zohaib82 said:

Hi,

There is option in back-office shop parameters => General => Enable SSL on all pages

Enable it,clear the cache,check in private browser without cache.

I hope it will fix the issue.

Attach image.

 

Screenshot from 2018-06-10 01-36-36.png

 

I have already done that but no luck

Link to comment
Share on other sites

6 hours ago, zohaib82 said:

I see most of the images coming from "blockslideshow" module.

 We need to check inside module how images are shown in front-office.

6 hours ago, zohaib82 said:

I see most of the images coming from "blockslideshow" module.

 We need to check inside module how images are shown in front-office.

Screenshot from 2018-06-10 02-18-36.png

 

Ok. Now what do you need from me?

Link to comment
Share on other sites


I found tpl file need to update inside module for {$base_dir_ssl}img/. This will render image using https protocol.

You can try from your end or share me FTP details to check and fix the issue.

You can send me FTP details via private message or email me.

For example below is the image tag look inside module

<IMG style ="display:none" src="{$base_dir_ssl}img/blockslideshow/{$slide.id_pos_slideshow}.jpg"  data-transition="boxRainReverse" data-thumb="{$slide.image}"  alt="" title="#htmlcaption{$slide.id_pos_slideshow}"  />
{$base_dir_ssl}img/blockslideshow/{$slide.id_pos_slideshow}.jpg

 

Link to comment
Share on other sites

On 6/10/2018 at 11:11 PM, zohaib82 said:


I found tpl file need to update inside module for {$base_dir_ssl}img/. This will render image using https protocol.

You can try from your end or share me FTP details to check and fix the issue.

You can send me FTP details via private message or email me.

For example below is the image tag look inside module


<IMG style ="display:none" src="{$base_dir_ssl}img/blockslideshow/{$slide.id_pos_slideshow}.jpg"  data-transition="boxRainReverse" data-thumb="{$slide.image}"  alt="" title="#htmlcaption{$slide.id_pos_slideshow}"  />

{$base_dir_ssl}img/blockslideshow/{$slide.id_pos_slideshow}.jpg

 

 

Your instructions are not that clear Sir. Please guide me step by step.

Link to comment
Share on other sites

I have updated below line in tpl file and added  {$base_dir_ssl} inside href,src element of tag

Attach updated tpl file.

I have not tested the code therefore if problem comes rollback with back-up tpl file.
 

<a href="{$base_dir_ssl}{$slide.link}">{/if}<img style ="display:none" src="{$base_dir_ssl}{$slide.image}"  data-thumb="{$base_dir_ssl}{$slide.image}"  alt="" title="#htmlcaption{$slide.id_pos_slideshow}"  />{if $slide.link}</a>

 

slideshow.tpl

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...