I have a dating site where I wish to crop all the photos that people upload.. I want to crop around their face so the xy are going to be different every time.
I have a custom tag that can crop image for me, but I need to supply the xy for where the crop is to begin and also the height and width of the size of the crop of the image.
I once saw someone else do this once... the image appeared on the page, they clicked once and then dragged a made a square over the part they wanted to crop, and the all the xy coordinates and height and widths got saved and then that info could be passed into the custom tag.
Does anyone know how I can do this?? Ie, find a way to dynamically get the coordinates I need. I'm assuming this needs to be done in javascript or DHTML or something... but i'm hoping someone here might know.
I have a custom tag that can crop image for me, but I need to supply the xy for where the crop is to begin and also the height and width of the size of the crop of the image.
I once saw someone else do this once... the image appeared on the page, they clicked once and then dragged a made a square over the part they wanted to crop, and the all the xy coordinates and height and widths got saved and then that info could be passed into the custom tag.
Does anyone know how I can do this?? Ie, find a way to dynamically get the coordinates I need. I'm assuming this needs to be done in javascript or DHTML or something... but i'm hoping someone here might know.