class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
See all posts Reply
thanks,
kris
Where:
- $top set how many pixel you are goint t crop on top.
- $right set how many pixel you are goint t crop on right.
- Etcetera.-.
So, if you consdiere that the coordinates of JCROP use a X and Y axis like this: c.x, c.y, c.x2, c.y2, then you have:
$top = $_POST["c.y"];
$right = $_POST["c.2"] - $image_width;
$bottom = $_POST["c.y"] - $image_height;
$left = $_POST["c.x"];
------------------
tanny.cl