Opened 17 years ago
Closed 17 years ago
#5874 closed enhancement (fixed)
super upload multimedia plugs and reuse
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.5 | Priority: | high |
Severity: | normal | Version: | 2.5 |
Component: | General | Keywords: | media has-patch |
Focuses: | Cc: |
Description
The attached patch enables uploads with different MIME types or file extensions to be treated differently. By filtering structured form fields and inputs/outputs, core and plugins will provide appropriate UI for knows file types.
Included as an example, images use different labels, form fields, form validation, help messages, error messages, and "Send to editor" options. All of these features can be customized for audio, video, swf, zip, etc., with a few filters.
Validation errors and help messages are displayed directly below related fields.
Related taxonomies are automatically added to appropriate attachments. The experimental "people" taxonomy for images takes advantage of a recent patch to keep the people listed in the same order they were entered.
The multimedia uploader can handle any and all allowed file types. Each attachment's edit box is customized on the fly. Form generation and processing are each passed through filters.
Much of the code in this patch will be reused in the Media Library screen.
I think this will eliminate the need to require the user to choose an uploader appropriate for the file. All attachments can go through this one screen.
(In [6876]) Media handling updates from andy. fixes #5874