Hello Guys,
I have a partial within a component which displays an image tag as follows:
<img src="{{ '/mysitefolder/plugins/author/plugin/assets/images/someimage.gif' }}" />
It's working just fine, but i need a clean way to do this. Means i don't want to type-in the complete absolute path to the image file within a plugin.
Something like <img src="{{ assets/images/someimage.gif }}" /> assuming the partial resides in the same plugin/component.
Thanks.
Last updated