Jcrop is a powerful image-cutting engine

Source: Internet
Author: User
Tags jquery library

Jcrop is a powerful image clipping engine for jquery.

It is designed to make it easy for developers to integrate advanced image cropping capabilities directly into any web-based application without sacrificing power and flexibility (or coding, testing and debugging weeks). Jcrop also has clean, well-organized code that works well in most modern web browsers.

in <HEAD> you need to load the necessary files on the page this includes:
jquery Library
Jcrop's JavaScript
Jcrop CSS style sheet
It should look like this: [HTML] view plain copy print? <script src= "Js/jquery.min.js" > </script> <script src= "Js/jquery". Jcrop.min.js "> </script> <link rel=" stylesheet "href=" css/jquery. Jcrop.css "type=" Text/css "/>

Getting started with the first simple point demo: [Java] View Plain copy print? <%@ page language= "java"  contenttype= "Text/html; charset=utf-8"         pageencoding= "UTF-8"%>   <! doctype html public  "-//w3c//dtd html 4.01 transitional//en"   "http:// Www.w3.org/TR/html4/loose.dtd ">  

Effect Chart:


Jcrop Simple Event Handling Demo:

[Java] View Plain copy print? <%@ page language= "java"  contenttype= "Text/html; charset=utf-8"         pageencoding= "UTF-8"%>   <! doctype html public  "-//w3c//dtd html 4.01 transitional//en"   "http:// Www.w3.org/TR/html4/loose.dtd ">   Effect Chart:


Jcrop Instance Demo Demo3:

[Java] View Plain copy print? <%@ page language= "java"  contenttype= "Text/html; charset=utf-8"         pageencoding= "UTF-8"%>   <! doctype html public  "-//w3c//dtd html 4.01 transitional//en"   "http:// Www.w3.org/TR/html4/loose.dtd ">   Effect Chart:


Jcrop Instance Demo4:

[Java] view plain copy print <%@ page language= "java  contenttype=" text/html ;  charset=utf-8 "       pageencoding=" UTF-8 "%>   <! doctype html public  "-//w3c//dtd html 4.01 transitional//en"   "http:// Www.w3.org/TR/html4/loose.dtd ">  

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.