Index: imagefield_crop/imagefield_crop_widget.inc
===================================================================
--- imagefield_crop/imagefield_crop_widget.inc	(revision 222)
+++ imagefield_crop/imagefield_crop_widget.inc	(working copy)
@@ -119,6 +119,7 @@
   else {
     // no output resolution requested
     $ratio = 0;
+    $w = $h = 0;
   }
 
   if ($field['widget']['croparea']) {
@@ -178,7 +179,7 @@
       '#type' => 'hidden',
       '#title' => $name,
       '#attributes' => array('class' => 'edit-image-crop-'. $name),
-      '#value' => $file['data']['crop'][$name] ? $file['data']['crop'][$name] : $default,
+      '#value' => !empty($file['data']['crop'][$name]) ? $file['data']['crop'][$name] : $default,
     );
   }
   
