In this web project(PHP) that I am working now, user's photos should be allowed to upload. That's not the problem, but they should be allowed to resize it if the photo doesn't matches the fixed height and width.
So, I am looking for a pre-made solution in jQuery that will allow users to resize the pic by drawing a dotted box and then resizing it. Then it would send the xy coordinates and resized width & height to my php file which will then make use of the imaging functions to crop the unwanted portion.
I have thought about creating one. But don't know whether it would be a good choice to start creating one from scratch.
Do you have some recommendations or do you know something that you might use for this purpose.