I have an image field set to allow jpg, jpeg, png, and gif. However, the form will only let me choose a jpg. If I try to upload a gif, Firefox tells me the file type isn't supported. If I remove the accept parameter using Firebug, I am able to upload the gif just fine. My page's source code has this: accept="gif,png,jpeg,jpg". Shouldn't it be this instead: accept="image/gif, image/png, image/jpeg, image/jpg"?
Comments
Comment #1
seanrHere's where I got that from, BTW:
http://answers.google.com/answers/threadview?id=448809
http://www.w3schools.com/TAGS/att_input_accept.asp
Comment #2
drewish commentedi think this might have been fixed in the 5.x-2.x-dev release... could you give that a try?
Comment #3
twirlingsky commentedI'm getting this same error in Firefox 3 and IE 7.0 with version 5.x-2.2.
Comment #4
twirlingsky commentedFixed it with this patch: http://drupal.org/files/issues/imagefield-352939-1.patch
Comment #5
drewish commentedright this is a duplicate: #352939: Can only upload one file type