I've hunted around for an answer to this, found similar issues, but not the exact same one.

We have an ImageField to add logos to events listed on our website. When clicking on Browse the usual list of files are shown, but it's not possible to select any file including those that have a permitted file type.

I'm on a Mac, and so far this only seems to effect Google Chrome 8.0.552.11 dev.

Safari and Firefox are both working fine.

Any help or pointers would be much appreciated. Sorry if this is a dumb question!

Comments

quicksketch’s picture

This sounds the same as #877566: Opera 10.6 can upload not allowed file types. Could you update that issue with your findings and mark this one as duplicate if they seem the same?

toodlepip’s picture

Had a quick look at the other issue and I don't think it's the same. I can't even get as far as selecting a file, all files including supported file types are greyed out. The only options are to navigate through folders. Hope that helps.

quicksketch’s picture

Status: Active » Closed (duplicate)

That's exactly the same problem that's described in the other thread. I'm 99% sure this is the same, browsers just recently started implementing the HTML5 spec on the "accept" attribute, which would have the effect you're describing.

quicksketch’s picture

toodlepip’s picture

Yup, spot on. Exactly the same problem. Here's hoping there's a simple fix, especially with Chrome grabbing so much market share. Thanks for such a speedy response.

jdln’s picture

subscribing

doublejosh’s picture

Having this same problem. Actually seems a little sudden as I was able previously.

I recently installed transliteration, but cannot confirm yet that it caused the issue.

CarbonPig’s picture

Subscribe - same issue - greyed out file uploads.

delapohl’s picture

Subscribing. Removing the "permitted upload file extensions" restriction from the field re-enabled selection of files in Chrome for me.

omerida’s picture

Confirmed after updating to Google Chrome 8.0.552.11 dev., i could not select files to upload.

frob’s picture

confirmed - subscribing

frob’s picture

my users are also complaining about Safari not saving after the they selected the file. I don't know if it is related, but I thought it could be a webkit issue.

pcambra’s picture

Same problem here, Snow Leopard with Chrome 9.0.597.0 dev
This happens both with Imagefield module for D6 and image field core of D7

brewern’s picture

subscribing

ademarco’s picture

Same here: Chrome 8.0.552.215 beta. Subscribing.

davidburns’s picture

subscribe

tunold’s picture

subscribe

mirzu’s picture

Removing everything from the "Permitted upload file extensions:" also fixed the issue for me, but that is not a permanent fix.

inlikealion’s picture

Subtly sub'ing

stevetweeddale’s picture

Yup, had this issue in both D7 core and imagefield in D6. Subscribing.

setvik’s picture

Same issue in D6 + imagefield + Chrome 8.0.552.215

kirkcaraway’s picture

Subscribing. Eliminating the allowed extensions works as a band aide, but that is not a cure.

frob’s picture

Eliminating the allowed extensions opens up a whole new issue for me.

robbdavis’s picture

Same problem. This worked fine until upgrading to latest version of chrome. Subscribing.....

frob’s picture

This is a chrome issue. It has been posted on google http://www.google.com/support/forum/p/Chrome/thread?tid=1c40bb39b79597c0...

frob’s picture

The issue is that the accept atribute is supposed to be used for mime types and not file types.

kfinney’s picture

Subscribe - same problem, might just have to wait for Chrome to update.

frob’s picture

Marking as duplicate.
See node http://drupal.org/node/939102

quicksketch’s picture

Yes, I marked it duplicate in #4. Most people don't read. :P

This has already been fixed in FileField. You can either download the dev version of FileField and ImageField, or wait a few days for the 3.8 version to be released.

frob’s picture

lol. You can count me among them. Plus the line through the link confused me.

jlmeredith’s picture

For those that cannot update to the dev version, there is a work around for this.

You can drag and drop from the finder on to the icon and it will stage the file for upload.

frob’s picture

Or try the new release, which fixes the problem. Also this is a duplicate and all future posts should be made at http://drupal.org/node/939102

dmuth’s picture

I have this, too. Subscribing.

WesleyWex’s picture

Exactly, the only fault Chrome has is to restrict the file types only to Macs, on Windows the browser understands that you have used wrong mime types and don't apply the filter (but it does if you use the attribute correctly).