Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (9 sloc) 269 Bytes
img_tag($path, $options)

Generate the tag "img" with options passed as parameters

Example:

{{ img_tag('bundles/acmedemo/images/logo.gif', {'title':'Symfony'}) }}

=>

<img title="Symfony" src="/sf209/web/bundles/acmedemo/images/logo.gif" />