On the front page of this plugin it says “This works only on modern browsers. (Sorry no IE).
Plugin Author
Rinat
(@rinatkhaziev)
It should work for single file uploads. Notice about IE is regarding multiple file uploads
I’m not using multiple file uploads. This is what I’ve got for my form:
[fu-upload-form title="Upload your Photos"]
[input type="text" name="name" id="ug_name" description="Your name"]
[input type="file" name="photo" id="ug_photo" description="Your Photo"]
[input type="submit" value="Submit"] [/fu-upload-form]
I also haven’t been able to get the single upload form to work with this plugin. I’m simply using the [fu-upload-form] short code. Does IE8 change the MIME type on upload or might it be something else?
So it looks like the issue was because of the two IE specific MIME types (pjpeg & x-png)… I seem to have figured out an interim solution to the issue:
Open frontend-uploader.php
Add this code after line 115
$ie_mimes = array( 'image/pjpeg','image/x-png');
Update line 118 from:
if ( in_array( $k['type'], $this->allowed_mime_types ) ) {
to this:
if ( in_array( $k['type'], $this->allowed_mime_types ) || in_array( $k['type'], $ie_mimes) ) {
Hope that helps!
Plugin Author
Rinat
(@rinatkhaziev)
Thanks mcnasby,
Excellent debugging skills. I will commit patch shortly.
Glad to help! Thank you for making this excellent plugin. It was exactly what I was looking for.
Plugin Author
Rinat
(@rinatkhaziev)
I just released new version of plugin that should take care of IE issue.