Created
June 15, 2021 06:52
-
-
Save yogeshdubey2006/9dddd44b6ce462b1898bfa69d28c2b95 to your computer and use it in GitHub Desktop.
magento 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src='<?php echo $this->getViewFileUrl('images/footer-logo.png'); ?>' alt="Demo"> | |
<img src="{{view url="images/slide-bg.jpg"}}" alt="test" /> | |
# https://magento.stackexchange.com/questions/93688/add-a-static-image-on-phtml-page-and-cms-blocks-magento2/93697 | |
<img src='<?php echo $this->getViewFileUrl('Company_Module::images/image-icon.png'); ?>' alt="image-icon" width="30" height="25"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment