Create Media

This commit is contained in:
Llewellyn 2024-08-23 17:24:01 +00:00
parent f7f27f11ea
commit 33dad5c4d5

View File

@ -0,0 +1,70 @@
{
"name": "Media",
"short_description": "provides modal access to the media manager for insertion of images with upload for users with appropriate permissions.",
"description": "The media form field type provides modal access to the media manager for the choice of an image. Users with appropriate permissions will be able to upload files.",
"properties": {
"properties0": {
"name": "type",
"example": "media",
"mandatory": "1",
"description": "(mandatory) must be media."
},
"properties1": {
"name": "name",
"example": "media",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Media",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "description",
"example": "",
"adjustable": "1",
"translatable": "1",
"description": "(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box."
},
"properties4": {
"name": "directory",
"example": "",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the directory from which the user will be able to choose a file. This attribute should be relative to the top level \/images\/ folder."
},
"properties5": {
"name": "preview",
"example": "false",
"adjustable": "1",
"description": "(optional) shows or hides the preview of the currently chosen image. (\"true\": Show always, \"tooltip\": Show as tooltip, \"false\": Show never) (since Joomla! 2.5.5)"
},
"properties6": {
"name": "showon",
"example": "",
"adjustable": "1",
"description": "(optional) show this field on the bases of the value in another field. https:\/\/joomla.stackexchange.com\/a\/17682\/2166"
},
"properties7": {
"name": "onchange",
"example": "",
"adjustable": "1",
"description": "(optional) HTML equivalent attribute (javascript use)"
}
},
"has_defaults": "1",
"datatype": "VARCHAR",
"datalenght": "255",
"datalenght_other": "",
"datadefault": "",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "69957007-e3d4-4976-a32b-611d02dbad71"
}