Results 1 to 4 of 4
Thread: Image crop and resize
Feb 19, 2013, 04:01 #1
- Join Date
- Nov 2004
- 2 Post(s)
- 0 Thread(s)
Image crop and resize
I'm looking for a script where I can upload an image and then crop this to a perfect square.
The final image that is saved should be 200 x 200 pixels.
So, if the uploaded image is too small, I want it to fill the rest of the area with white.
If the uploaded file is too wide or too high, the user should be able to crop the part they want to be the visible 200x200 pixels.
I found this script http://keithics.com/blog/jquery/ajax...-php-crop-tool
But I don't understand where to change the bits and pieces to make it work for me.
I want to make it simple and don't need the user input fields where they have to set the size and things like that.
I just want them to use the upload button and the crop tool and then end up at another page where I can have their uploaded picture showing and also have the url to the image inserted into my db.
Does anyone know what to change in this script or if there is something simple out there that might just do what I'm looking for?