rortk1 / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

accept attribute should contain mime-types separated by comma #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try running 'accept' example at 
http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Overview
2. Run it Opera 10.60, Linux, GTK.
3. Click choose, and try to select files.

What is the expected output? What do you see instead?
Opera shows filter "gif|jpg (*.*)" and "All files (*.*)". First one actually 
doesn't show any files, even jpeg files. It is bug, but this is because 
accept='gif|jpg' isn't supported as so. It should be 
accept='image/gif,image/jpeg', then if correctly shows "Images 
(*.gif,*.jpeg,*.jpg,*.jpe)"

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 1.47
JQUERY VERSION: 1.4

On what browser(s) or operating system?
BROWSER(S): Opera 10.60, Linux, GTK.

Please provide a link to where the problem can be observed:
URL: http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Overview

Feel free to provide any additional information below.
Plugin should rewrite commonly known extensions to proper mime-type in accept 
and separate this mime-type by comma.

Three first screnshots are screenshots when using example on plugin's site with 
Opera @ Linux, Gnome.

Two last screenshots are using accept='image/gif,image/png,image/jpeg'

Original issue reported on code.google.com by witold.b...@gmail.com on 24 Jun 2010 at 1:16

Attachments:

GoogleCodeExporter commented 8 years ago
In fact accept='image/*' is acceptable, and will automatically filter only 
images (based on mime/type or extension).

Original comment by witold.b...@gmail.com on 24 Jun 2010 at 4:20

Attachments:

GoogleCodeExporter commented 8 years ago
The project has been dormant for over a year and many of the support requests 
have been resolved and/or are invalid. So we're going to archive them all, 
pending review.

If you're still having a problem with the plugin, please visit the project page 
and re-open the issue. We do apologize for any inconvenience this may cause, 
but please bear with us...  we'll be making improvements to the plugin and its 
documentation over the coming weeks.

Stay tuned; and thanks for your support!

The Fyneworks Team
http://twitter.com/fyneworks

Original comment by fyneworks on 26 Jan 2012 at 1:37