I have created a page in pyrocms CP. I am facing a problem im using this tag to display my image.
{{ theme:image file="service.jpg" }}
I know the alternative though
echo Asset::img('service.jpg','alt text',array('width'=>200 ,'height'=>200));
But the second instruction is not working in the page created in control panel. I need to set the attributes of image using the first instruction. I found an alternative using css in design but it is not working either. How to solve it.