magento Getting Magento URLs Get Media Url


Example

Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);