Jquery-Image Upload and cropping plug-in-imgareaselect (analysis 4) Upload Server

Source: Internet
Author: User

1. Select and upload the image to the server.

2. After the upload is successful, the image address of the server is reversed to the webpage of the client and displayed in a DOM element (large image, the image to be cropped)

3. Use the front-end cropping effect, select a region, and click "OK" again.

4. Click "OK" to send the values of the selected region, such as width, height, X1, Y1, X2, and Y2 to the server.

5. After receiving the information on the server pageProgramming LanguageWhen an object or method is specified on the server, a new image file is created.

6. Return the address of the newly created image to the client. Displayed in a DOM element (thumbnail, cropped graph ).

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.