Flash 10 and WordPress File Upload Problems

Well, Flash 10 is out with new features, security updates, and a fix for a Firefox video problem that I never noticed because it only affected Windows, and only sometimes.

It seems a little less stable than version 9 on Linux, at least 64-bit (it’s kind of complicated, because they only have a 32-bit program, so you either need to run a 32-bit version of your web browser, or use a wrapper that will let the 64-bit browser talk to the 32-bit plugin. nspluginwrapper does this for Firefox and other Gecko browsers, while Opera has a wrapper built in). But the annoying part: WordPress’ image upload no longer works.

Current versions of WordPress use SWFUpload to provide an enhanced file uploader. If you don’t have Flash installed, it will just use the standard upload dialog built into your web browser, but then you’re stuck uploading one image at a time — a real pain if you’re making a photo gallery post. Unfortunately for upload libraries, Adobe removed the ability for the Flash API to open a file dialog for security reasons.

So now, you can click on the button, but the dialog never opens. WordPress is tracking the issue in ticket 6979, which mentions that SWFUpload is discussing workarounds, and the YUI Uploader has already released a new version that works with Flash 10.

An update of some sort is likely to happen soon. In the mean time, WordPress users have two choices: hold off on updating Flash, or stick with the browser uploader for now.

Update October 31: SWFUpload has a new version in beta which works with Flash 10, and WordPress is working on integrating the update. It’s targeted for WordPress 2.7, which comes out in a little under two weeks, though the 2.7 writeup lists it as a feature that “didn’t make it” and might be in 2.8. (This seems like something that would affect enough people that I’d hope they would include it, even if it means pushing back the release a few days for more testing.)

There’s also been talk about implementing a file uploader using Gears, which I’d find really appealing if I weren’t 64-bit Linux both at home and at work.

Update November 1: I’ve tested WordPress 2.7 Beta 1 (not on this blog) and can confirm that the fix is included, as I was able to upload two images in one transaction.

14 thoughts on “Flash 10 and WordPress File Upload Problems

  1. PCLicious Video Tutorials

    Things like this happen often, I believe it will be settled shortly, now if this was a Microsoft product… 😀

  2. dan

    good news.. thanks for the post. I haven’t written anything new on my blog in awhile and this has been driving me nuts.. couldn’t figure out why i couldnt upload.

    2.7 was scheduled for nov 2008 and ive already tested the beta3 and it works.. hope they release it soon

  3. Michael Bailey

    Just completed the WP 2.7 upgrade and the Flash 10 fix is not included – I guess they pulled it back out before releasing.

    1. Kelson Post author

      That’s weird. It works fine for me. WordPress 2.7 final, Flash 10, Firefox 3. I just tried uploading 4 images simultaneously and it went without a hitch.

  4. Kelson Post author

    Well, the specific issue here has definitely been fixed in 2.7, so unless something went wrong with your upgrades (didn’t clean out the old wp-includes & wp-admin folders, or something like that), there’s probably something else going on. It could be OS-specific, or browser-specific, or plugin-related.

    Whatever the case, you should probably head over to the WordPress Support Forums and see if you can get some help there.

  5. Patrick

    I’m having trouble uploading an image into to my WordPress blog (I think version 2.62). Clicking on “Choose files to upload” doesn’t work. Having trouble finding a solution on the web.

  6. Hackensack

    Finally got around to updating to 2.7 over the weekend and did not have any issues. Whatever errors there were have been fixed, at least from my perspective.

  7. suicidalsam

    I can’t upload any files on my wordpress blog anymore. I have been using wordpress 2.7 and in the past, i could upload files but now “choose files to upload” option doesn’t work at all. When i click it, nothing happens. do you have any solutions or know what is wrong?

  8. Kelson Post author

    Obviously comments on this post have outlived their usefulness, as people keep mistaking it for a tech support forum.

    I posted about a specific issue with WordPress 2.6 and older with Flash 10 that was fixed in WordPress 2.7. If you’re having problems uploading with WordPress 2.7, it’s a different problem.

    To repeat myself, if you’re still having problems, go to the support forums.

    Comments on this post are now closed.

  9. Pingback: Run away from WordPress Flash upload issue - Platonic

Comments are closed.