Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to crop an image using jquery ajax and php?

Hi I am doing an social networking project ,where i have an option to add/edit photos ,When user clicks the button the image will be uploaded to the database and it will be updated...but then when user click on the crop button it will open in some popup or modal window and then user crop that image then it will save in database through ajax and php and then display it on his position.

Is there any jquery plugin like this or need to do custom code.

if custom code then what is the best way.

like image 678
Pathik Gandhi Avatar asked Sep 09 '11 11:09

Pathik Gandhi


1 Answers

Try this http://deepliquid.com/content/Jcrop_Download.html

like image 79
Sonal Khunt Avatar answered Oct 01 '22 22:10

Sonal Khunt