diff --git a/imagecrop.module b/imagecrop.module
index 79d2943..04b6d14 100755
--- a/imagecrop.module
+++ b/imagecrop.module
@@ -195,6 +195,36 @@ function imagecrop_form_media_edit_alter(&$form, $form_state) {
 
 }
 
+
+/**
+ * Implements hook_form_file_entity_edit_alter().
+ * Add imagecrop to file_entity edit form.
+ */
+function imagecrop_form_file_entity_edit_alter(&$form, $form_state) {
+
+  if (isset($form['preview']['#file']) && $form['preview']['#file']->type == 'image' && in_array('media', variable_get('imagecrop_modules', array()))) {
+
+    $imagecrop = new Imagecrop();
+    $imagecrop->setFile($form['preview']['#file']);
+
+    global $user;
+    if (!$imagecrop->hasUserAccess($user)) {
+      return;
+    }
+
+    $form['imagecrop'] = array(
+      '#type' => 'markup',
+      '#weight' => 10,
+      '#prefix' => '<div class="imagecrop form-item">',
+      '#suffix' => '</div>',
+      '#markup' => imagecrop_linkitem($form['fid']['#value'], $form, get_imagecrop_styles()),
+      '#weight' => -9,
+    );
+
+  }
+
+}
+
 /**
  * Implements hook_form_image_effect_form_alter().
  * Add the reset checkbox when editing an effect.
