Wordpress enable flash uploader

Today, I encountered a problem with my media uploader in wordpress (2.9.2).

Wordpress simply would not show the flash uploader for uploading multiple files to the media library. Only the message “You are using the browser uploader” was shown. When the flash uploader is enabled you are given the choice of using the browser uploader instead, for some unknown reason the message “try the flash uploader instead” was not shown.

The simple fix is to add ?flash=1 to the address bar like this:

http://yourblog.com/wp-admin/media-new.php?flash=1

If you want to force the use of flash uploader while editing pages (e.g. not when adding media to the media library) you can not simply add ?flash=1 to the URL since a modal-window is used. However a dirty fix is this:

Add this line to the top of /wp-admin/media-upload.php:
$_GET['flash'] = ‘1′;

If you get the red HTTP-error message after uploading with the flash uploader, you need to put this in your .htaccess-file;

<ifmodule mod_security.c>
<files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</files>
</ifmodule>

Oddly, wordpress stated showing the before mentioned “try the flash uploader instead” message on my pages after playing around with this.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • TwitThis
Posted by Erik Søndergaard Poulsen   @   18 March 2010

4 Comments

Comments
Mar 19, 2010
19:25

I can’t help but find it a bit surprising that you run your own Wordpress installation. I once did so myself, but moved to a hosted solution after spammers had compromised it…

Apr 20, 2010
18:33
#2 Taeke :

Cheers mate! A client website wouldn’t allow Flash upload for some reason. Tried every single suggested fix but this one is the only one that actually works!

Author Apr 20, 2010
19:15

Dan (#1): After enabeling the Askimet Plugin I have had no problem with sorting the spam-comments from the “sheep”…If that was your problem.

Trackbacks to this post.
Leave a Comment

Name

Email

Website

Previous Post
«
Next Post
Powered by Wordpress   |   Lunated designed by ZenVerse