-
Notifications
You must be signed in to change notification settings - Fork 34
html_image
Umakant Patil edited this page Dec 11, 2013
·
1 revision
{html_image} generates an HTML tag. The height and width are not printed if not supplied.
| Attribute | Required | Default | Description |
|---|---|---|---|
| file | Yes | n/a | image URL |
| height | No | n/a | Height to display image |
| width | No | n/a | Width to display image |
| alt | No | n/a | Alternative description of the image |
| href | No | n/a | href value to link the image to |
| path_prefix | No | n/a | Prefix for output path |
-
href is the href value to link the image to. If link is supplied, an tag is placed around the image tag.
-
path_prefix is an optional prefix string you can give the output path. This is useful if you want to supply a different server name for the image.
-
All parameters that are not in the list above are printed as name/value-pairs inside the created tag.