Difference between revisions of "Media form field type"
From Joomla! Documentation
(Summarize the main XML attributes of the JFORM field type "media")
Revision as of 11:38, 20 May 2011
Attributes: name, type[=media], label, description, directory
The directory attribute should be relative to the top level /images/ folder, so to have the media selector opened with the directory /images/stories/ already selected:
<field name="image0" type="media" directory="stories" />