views:

450

answers:

1

Hey guys, I am not very familiar with jquery & am trying to implement jCrop + upload via PHP. I found exactly what I needed ( http://webdevcodex.com/mashup-application-image-uploader-cropper-using-jquery-php/ ) and attempted to use it but the script is not going past step 6 (from the demo code).

I am able to upload an image to the folder & it will let me select an area to crop, but that's where it ends. When I hit 'crop image' it says "here is your cropped image:)" but does not show anything nor has it uploaded anything.

I checked to make sure the folder permissions are set proper & they are. Donno why it's not working. Any pointers?

A: 

please first check in installed to php gd function and later :

if(move_uploaded_file($file_temp, "uploads/".$file_name)) {

change to line full upload directory:

if(move_uploaded_file($file_temp, "/var/www/etc/uploads/".$file_name)) {
john misoskian