diff options
Diffstat (limited to 'modules/image/image.field.inc')
-rw-r--r-- | modules/image/image.field.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/image/image.field.inc b/modules/image/image.field.inc index 857e72ba8..3692ee2e8 100644 --- a/modules/image/image.field.inc +++ b/modules/image/image.field.inc @@ -404,7 +404,7 @@ function image_field_widget_process($element, &$form_state, $form) { '#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.'), // @see http://www.gawds.org/show.php?contentid=28 - '#maxlength' => 128, + '#maxlength' => 512, '#weight' => -2, '#access' => (bool) $item['fid'] && $settings['alt_field'], ); @@ -413,7 +413,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' => 128, + '#maxlength' => 1024, '#weight' => -1, '#access' => (bool) $item['fid'] && $settings['title_field'], ); |