Feature Proposal: Mutliple File Upload to TWiki Topics
Motivation
Social Network Systems like Facebook or Flickr support Multiple File (they are images) Attachments. Thats the cool feature we should have in TWiki for any type of attachments.
Description and Documentation
The TWiki, at the very base is
CGI Application based on Perl. It should be possible to implement multiple file attachment with the help of
CGI file handlers.
Let us just modify/improve current
TWiki::UI::Upload module to support multiple attachments.
Examples
None at this moment. Please check the attached images to this topic - they explain the detailed requirement.
Impact
None
Implementation
--
Contributors: SopanShewale - 2010-04-22
Discussion
We should have very generic
TWiki::UI::Upload. It should support uploading any number files using
HTML Form similar to
following:
<input type="file" name="filepath" value="%FILEPATH%" size="70" />
<input type="file" name="filepath" value="%FILEPATH%" size="70" />
<input type="file" name="filepath" value="%FILEPATH%" size="70" />
<input type="file" name="filepath" value="%FILEPATH%" size="70" />
<input type="file" name="filepath" value="%FILEPATH%" size="70" />
The Usability can be handled using
TML in templates (attach.SKIN_NAMES.tmpl)
One Such example can be:
Once selected for upload, it should prompt back the "browser" input box. The selected file should be displayed below the browser input box with option of "Remove it".
If some one want to remove/cancel the upload of particular file, it should be possible to do it in single click.
Possible to remove or cancel upload of any file.
--
SopanShewale - 2010-04-22
Excellent proposal. We are in code freeze for 5.0, but let's discuss in next release meeting if we want to make an exception.
--
PeterThoeny - 2010-04-22
Created issue
TWikibug:Item6441
to add code in repository.
--
SopanShewale - 2010-04-29
This has been released in
TWikiRelease05x00x00.
--
PeterThoeny - 2010-06-06