Created
December 2, 2015 15:10
-
-
Save jerrylopez/1c1cc053e441fd0bea6e to your computer and use it in GitHub Desktop.
Magento image URL secure or non-secure based on page being secure or not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo $this->getSkinUrl(‘images/ sampleimage.gif’,array(‘_secure’=> Mage::app()->getStore()->isCurrentlySecure())) ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment