It is simpler to use than the Swfupload,uploadify plug-in configuration, but just a second or so after loading.
No more nonsense to say, directly to everyone paste code.
Ps:uploadify plugin implements multiple picture uploads and previews
The use of uploadify plug-ins to facilitate the implementation of the image upload function. Compatible IE6, IE7.
After the upload is successful, use the callback function of the plugin to read the JSON data and preview the picture according to the URL.
Effect Chart:
Click Browse file Upload picture, the picture in turn on the right side show preview effect.
Realize:
The JSON data format is as follows:
The page code is as follows:
Note: You need to refer to Jquery.js, uploadify.js, uploadify files ... uploadify File Download Address: http://www.uploadify.com/download/
Have encountered a problem:
In IE, 360 browsers in the JSON data check more stringent, do not allow the last "," exist. Other browsers will not complain, you need to pay attention.