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? Aug 10, 2018 at 15:30

1 Answer 1


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 and acknowledge you have read our privacy policy.

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