Uploadify multiple file upload parameter setting technique _jquery

Source: Internet
Author: User
Tags hash

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.