Image upload plugin carding and learning

Source: Internet
Author: User

Image upload combing and learning:

The Oper and seller end of the project, with two different plugins, a simple look:

First, seller end:

The seller end uses a ajaxupload.js, a library that is packaged well. The parameters are passed in when called, and the related properties can be configured.

1. Steps to use

    • introduction of JS file;

    • JS code constructs the object, passes in the corresponding parameter, simultaneously the JS method may carry on the picture uploads before the processing;

    • Background: To achieve the image upload and return the results;

2, Ajaxupload's study reference:

Http://www.zhangxinxu.com/wordpress/2009/11/ajax-upload multi-File Upload plugin translation and Chinese demo/

The tutorial is very detailed and very similar to what you use. For some parameters, the resolution of the method is also very detailed. can refer to. (The following Chinese is also the link address)

Http://zhaoyanblog.com/archives/83.html

Tutorial: A brief explanation of the use, as well as the configuration of the parameters. The last one, but also very reference meaning, wins in concise.

3, code Backup:

Control Source: Https://drive.google.com/open?id=1uXDckVgUpSNdV8iJfnpNVJwiGJ1THohm

Call Control Place: Https://drive.google.com/open?id=1Zhzj7n1VBiXn3qZjbEVqqDFO4esparva

Background code (including get picture width and height): Https://drive.google.com/open?id=1vNl04hGqNfktrxJlTbXVsBs3R9jf_O_c

Second, Oper end:

Oper end with another plug-in: Plupload.js are plug-ins, the use of a small difference.

1, the use of the steps:

    • The introduction of Plupload source code;

    • Create objects and so on, and initialize to see the demo, this does not need to repeat;

    • Other logic same as previous;

2, study reference:

Https://www.cnblogs.com/2050/p/3913184.html

A super detailed tutorial, with all the properties of the introduction, there is a simple demo, almost the official translation of the document ...

http://blog.csdn.net/qq_30100043/article/details/78491993

Inside the demo than the above tutorial in detail, can refer to.

3, the end;

Image upload plugin carding and learning

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.