Skip to content

Latest commit

 

History

History
executable file
·
20 lines (9 loc) · 269 Bytes

image.rst

File metadata and controls

executable file
·
20 lines (9 loc) · 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" />