This is a quick demo I threw together for Thomas' question at the forums. The RubberBandBox object utilizes xEnableDrag.
You can pass the user-selected coordinates back to your shared web hosting and, for example, crop and/or zoom the image then return it to be displayed.
If you are using X, XC or anything from this site, show off your work by posting a link in the X Showcase forum.