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="" />

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

<img src="" />

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

About Author:

Kalpesh Chavada

Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.

Kalpesh Author