Magento 2 – Call Theme Images in Static Block

adminmagento-2.0magento2static-blocktheme

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"}}.

Best Answer

You can call theme images from static block like this in magento2 :

<img src="{{view url="images/demo.jpg"}}" alt=""/>
Related Topic