Call Images in Magento

In Magento there are two type image call in phtml file or cms block. * In Phtml File there are two way to get image one from Media folder and other from your theme Images.
1.) Get images in .phmtl file from media folder use this

<img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'/Your Folder Name/image/1.png'; ?>" />

2.) In this path .index.php path include in url

<img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK). 'media/YourFolderName/image/1.png'; ?>" />

  3.) Get image in .phmtl file from theme images folder

<?php echo $this->getSkinUrl('images/sampleimage.jpg') ?>

  * Call Images in CMS page
1.) Get images in Cms Page or Static Block

{{skin url='images/sampleimage.jpg '}}

  2.) Get Image for Media Folder

https://www.akshargrouptechnologies.com/media/subfolder/image.png

  3.) Get Theme image path

<?php echo $this->getSkinUrl(); ?>

  4.) Get Media Folder path

<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); ?>