i am working on k2 example plugin, i want to add image selector field in k2 category section, i have already created html contents and text fields using the same and is working , but i don't know that we write as type for XML field. plz help me..
To create a image selector which uses Joomla's built-in Media Manager, you can use the following form field type in your XML:
<field name="myimage" type="media" directory="stories" />
For more information on the media type form field, please read the Joomla documentation: