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
2.) In this path .index.php path include in url
3.) Get image in .phmtl file from theme images folder
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
{{media url='subfolder/image.png'}}
3.) Get Theme image path
getSkinUrl(); ?>
4.) Get Media Folder path
Share this playbook
