Inserts a media object into an item body or template.
In normal use, the media-templatevar is generated automatically when adding images through the media library. You can call it from within templates too, though. Note that in this last case, the object will come out of the media dir of the current item's author.
Required:
| Name | Contents |
|---|---|
| filename | Name of the image file (file gets) |
| text | descriptive text for the media object |
<%media(mysong.mp3|listen to my new song)%>