[RESOLVED] Image cropping with drag for the crop
Image cropping with drag for the crop, a la facebook.
Drag the image to adjust. On profile picture - edit thumbnail.
Is there something similar available on the web?
I thought of a div containing the image to be cropped, with overflow hidden and with the mouse allow to do the scroll. Retrieve the coordinates of the x scrollbar and of the y scrollbar and that area gets cropped afterwards with PHP but how could I make the mouse to scroll with the overflow hidden, I thought about integrating the custom scrollbars jquery plugins but that would allow me to drag either vertically or horizontally as it would be an opacity 0 for the scrollbar with the full height and width of the div.
Suggestions or something similar, thank you.
<img src="an image that is wider and higher than the div">
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)