diff --git a/pointcrop.module b/pointcrop.module
index c1672b8..3065d60 100644
--- a/pointcrop.module
+++ b/pointcrop.module
@@ -299,3 +299,48 @@ function pointcrop_parse($point) {
 function pointcrop_widget_support($type) {
   return function_exists('pointcrop_widget_' . $type . '_process');
 }
+
+/**
+ * Implements hook_form_file_entity_edit_alter().
+ * Add pointcrop to file_entity edit form.
+ */
+function pointcrop_form_file_entity_edit_alter(&$form, $form_state) {
+  if (isset($form['preview']['#file']) && $form['preview']['#file']->type == 'image') {
+    if (user_access('set pointcrop focus point')) {
+      // Add JS and CSS.
+      // Add focus fields.
+      $path = drupal_get_path('module', 'pointcrop');
+      drupal_add_js($path . '/pointcrop.js');
+      drupal_add_css($path . '/pointcrop.css');
+
+      // Add settings.
+      static $added;
+      if (!$added) {
+        drupal_add_js(array(
+          'pointcrop' => array(
+            'path' => drupal_get_path('module', 'pointcrop'),
+          ),
+        ), 'setting');
+        $added = TRUE;
+      }
+
+      $form['focus_point'] = array(
+        '#type' => 'textfield',
+        '#title' => t('Focus point'),
+        '#default_value' => isset($form['preview']['#file']->focus_point) ? $form['preview']['#file']->focus_point : '',
+        '#description' => t('The focus point of the image. The point consists of x and y values of between 0 and 1. For example: 0.53636364,0.78181818'),
+        '#attributes' => array(
+          'class' => array(
+            'pointcrop',
+            'focus-point',
+          ),
+        ),
+        '#access' => (bool) $form['preview']['#file']->fid,
+      );
+
+      $form['focus_box'] = array(
+        '#markup' => '<div class="pointcrop focus-box"><div class="img-wrapper"><img class="uploaded-image" src="' . file_create_url($form['preview']['#file']->uri) . '" alt="' . $form['preview']['#file']->image_dimensions['width'] . 'x' . $form['preview']['#file']->image_dimensions['height'] . '" style="display:none;" /></div></div>',
+      );
+    }
+  }
+}
\ No newline at end of file
