In Magento 1, we can directly get the image url using $this->getSkinUrl() function.
But in Magento 2 there are some changes to call the images
1. Put the image on this path app/code/Webmull/Call/view/frontend/web/images
2. Use this code to phtml file to call the image
1 |
<img src="<?php echo $block->getViewFileUrl('Webmull_Call::images/call_img.png'); ?>" alt="<?php echo __('Call'); ?>" title="<?php echo __('Call'); ?>" width="35" height="35" /> |
Now Refresh the page and check