0

I have a menu which has some images and I also use SSL certificate for the site. I saw that the images from menu are loaded through http on a https page and I'm getting that notice that the page isn't secure. Is there any way I can get it work without verifying the link and put manually there https? This is what I have right now:

<img src="'.Mage::helper('catalog/image')->init($product, 'small_image')->resize(165, 140).'" alt="'.$product->getName().'" border="0" />
2

You have to add the protocol (https/http) to the cache key in order to distinguish http and https version of the block.

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.