This example shows how to use Connection Manager to issue an image crop request.
The ImageCropper Control will only work when applied to an image. So we place an image on the page and give it an id.
Next we call the
ImageCropper constructor on the image.
Now we need to create the button that we will use to fire the Connection Manager request.
Now that we have the button created, we need to setup the Connection Manager request.
We will listen to the Button's
click event, then fire the request.
Note: Logging and debugging is currently turned off for this example.
All YUI 2.x users should review the YUI 2.8.2 security bulletin, which discusses a vulnerability present in YUI 2.4.0-2.8.1.