0

I'm trying to get my site over to https.

But, i'm getting mixed content errors. I looked into one of them and it is an image, and that image is being used like this:

<img src="<?php echo $this->getSkinUrl('images/mgt_lazy_image_loader/loader.gif'); ?>"

How do I fix this? Shouldn't this be using my Secure Base Skin URL field from inside the Admin?

  • Were you able to solve your issue? – Vivek Kumar Aug 10 '18 at 15:30
0

You can get HTTPS urls by adding secure param as following ;

<img src="<?php echo $this->getSkinUrl('images/mgt_lazy_image_loader/loader.gif', array('_secure'=>true)); ?>"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.