Magento2 : how can I call my theme images in static block
-
13-12-2019 - |
Question
I have install Magento2 and create static block how can I call my theme images in static block ? In Magento1.x we used {{skin url="images/demo.jpg"}}
.
Any one have idea for how to call images in Static block not using editor like {{media url="wysiwyg/demo.jpg"}}
.
Solution
You can call theme images from static block like this in magento2 :
<img src="{{view url="images/demo.jpg"}}" alt=""/>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange