Tutorial by Examples

return http://www.example.com/skin/frontend/{interface}/{theme}/images/my-image.jpg
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);
Mage::getBaseUrl();
$this->getSkinUrl('images/imagename.gif', array('_secure'=>true));
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
$this->getSkinUrl('images/imagename.jpg');
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);
Mage::helper('core/url')->getCurrentUrl();

Page 1 of 1