diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc
index c3ac1d5..d14441f 100644
--- a/modules/image/image.field.inc
+++ b/modules/image/image.field.inc
@@ -403,7 +403,7 @@ function image_field_widget_process($element, &$form_state, $form) {
     '#type' => 'textfield',
     '#default_value' => isset($item['alt']) ? $item['alt'] : '',
     '#description' => t('This text will be used by screen readers, search engines, or when the image cannot be loaded.'),
-    '#maxlength' => variable_get('image_alt_length', 80), // See http://www.gawds.org/show.php?contentid=28.
+    '#maxlength' => 128, // See http://www.gawds.org/show.php?contentid=28 .
     '#weight' => -2,
     '#access' => (bool) $item['fid'] && $settings['alt_field'],
   );
@@ -412,7 +412,7 @@ function image_field_widget_process($element, &$form_state, $form) {
     '#title' => t('Title'),
     '#default_value' => isset($item['title']) ? $item['title'] : '',
     '#description' => t('The title is used as a tool tip when the user hovers the mouse over the image.'),
-    '#maxlength' => variable_get('image_title_length', 500),
+    '#maxlength' => 128,
     '#weight' => -1,
     '#access' => (bool) $item['fid'] && $settings['title_field'],
   );
diff --git a/modules/image/image.install b/modules/image/image.install
index fc326b4..e1899f3 100644
--- a/modules/image/image.install
+++ b/modules/image/image.install
@@ -386,6 +386,15 @@ function image_update_7002(array &$sandbox) {
 }
 
 /**
+ * Remove the variables that set alt and title length, since they were not
+ * used for database column size.
+ */
+function image_update_7003(array &$sandbox) {
+  variable_del('image_alt_length');
+  variable_del('image_title_length');
+}
+
+/**
  * Implements hook_requirements() to check the PHP GD Library.
  *
  * @param $phase
