Foreword: New project, need to upload picture cross domain to specialized picture server above, and also support IE8/9 cross domain upload.
Resolution: In order to solve this program stepped on a lot of pits, hereby recorded. Previously collected a number of uploaded component files (Pictures) upload components, each have pros and cons.
1: Because Google does not support Flash in the future version, so do not want to use the SWF supported components upload
2: Tried the Ajaxfileupload component, which was dropped directly across the domain in Google.
3: Try Baidu's upload component, Web Uploader This is very good, support cross-domain, but IE8/9 cross-domain support is not good, had to give up (also may be I did not configure it well)
4: The emphasis came, tried the JQ component jquery-file-upload, known as ie8+, supported across domains. However, ie10+, Chrome, FF cross-domain line, IE8, 9 under the cross-domain is not always supported, after uploading the picture server has returned the image of the relevant parameters, IE8/9 Ajax request has responded, but is not the value, cross-domain, simulation form form submission IE8/9 can't cross the domain !!!
5: Finally, you have to re-use the SWF component Uploadify, the most recent version 3.2.1, but after the cross-domain, you must add the Crossdomain.xml file on the remote file server, which is placed under the root directory of the server. If you have access to this XML file in the browser, the XML configuration is successful. This Adobe protocol, because Uploadify is uploaded using Adobe's swf, this protocol can solve cross-domain security problems, so it can be uploaded through the uploadify plug-in, specifically, according to the actual situation to configure the cross-domain XML file.
6: Finally, with uploadify Flash implementation of IE8/9 cross-domain upload, if there are other better ways, please share.
IE8, 9 cross-domain upload file (image)