Jump to content

[SOLVED] SSL Insecure content with tmcategories images


Recommended Posts

Hello everyone!

 

i have an ssl problem with tmcategories and slider1 images.

All these images have unsecure url (http) and google chrome show my ssl yellow. I run the inspector in chrome and it show that only these images have that problem.

 

i try to change the url from the category-tree-branch.tpl file in line 9 from:

<img src="{$link->getPageLink('index.php')}img/c/{$child.id}-category.jpg" alt="" /> to:

<img src="https://www.mydomain.com/img/c/{$child.id}-category.jpg" alt="" />

and when i force compile the site i don't have problem and the ssl is green, but when i disable force complile the problem is still there (yellow).

 

Can anyone help me to fix it?

Edited by aimilios (see edit history)
Link to comment
Share on other sites

Ok, i check it again and i found that the solution is to add 'true' after getpagelink.

 

The correct link is-> <img src="{$link->getPageLink('index.php', true)}img/c/{$child.id}-category.jpg" alt="" />

 

Also i solve the problem with cache by delete everything into smarty/cache and compile files.

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...