1

(3 replies, posted in General discussion)

but somebody maybe don't know that is invalid image, they just think there is a program error.

2

(3 replies, posted in General discussion)

i used option:
resize : {width : 1024, height : 768, quality : 90}

when i upload 0 byte file and false.jpg( change extension from .exe etc) , plupload stop there and not any response.

Can i fires a event to process it?

user want to change order at filelist, how can do that?

thank u very much!

i tried firebug, and found the ret's value is ' response = { json}'.
so i did this:

var obj = eval('(' + ret.response + ')');
alert(obj.jsonrpc);

it is correct.

in upload.php

// Return JSON-RPC response
die('{"jsonrpc" : "2.0", "result" : "", "id" : "id"}');

and i write code:

uploader.bind('FileUploaded', function(up, file, ret) {
    alert(ret.jsonrpc);
});

but it is nothing here.   can you tell me how to get it?

Yes, i know it.
But we can get local path through <input=file> by jvascript in IE. there is no way to get it just because Flash?

how to get the file's local path? i want to preview image before upload it.

can you add this method "file.getPath()" to plupload?