Image
Get the URL to an image in your theme.
Example
{{ theme:img src="hat.jpg" }}
/site/themes/redwood/img/hat.jpg
Add the tag
parameter to output a img
tag.
{{ theme:img src="hat.jpg" tag="true" }}
<img src="/site/themes/redwood/img/hat.jpg">
Parameters
src
string |
The path to the image, relative to the theme/img directory. |
---|---|
cache_bust
boolean false |
Setting this to |
absolute
boolean false |
Render the URL in an absolute format. |