7

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

16

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.