Magento get skin url


Magento get skin url : Here are following ways to get the skin url in magento.


Magento get skin url


Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);

Unsecure Url

$this->getSkinUrl('images/myimage.jpg');

Secure Url

$this->getSkinUrl('images/myimage.jpg', array('_secure'=>true));

For Cms Pages Or Static Blocks

{{skin url='/yourimagename.jpg'}}

User Ans/Comments

📖 Read More


Advertisements