Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 20 lines (9 sloc) 0.269 kb
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" />
Something went wrong with that request. Please try again.