diff --git a/core/modules/image/image.field.inc b/core/modules/image/image.field.inc index aef6be7..fb6c40d 100644 --- a/core/modules/image/image.field.inc +++ b/core/modules/image/image.field.inc @@ -23,6 +23,7 @@ function image_field_info() { 'max_filesize' => '', 'alt_field' => 0, 'title_field' => 0, + 'description_field' => 0, 'max_resolution' => '', 'min_resolution' => '', ), @@ -133,9 +134,6 @@ function image_field_instance_settings_form($field, $instance) { '#field_suffix' => ' ' . t('pixels'), ); - // Remove the description option. - unset($form['description_field']); - // Add title and alt configuration options. $form['alt_field'] = array( '#type' => 'checkbox', diff --git a/core/modules/image/image.install b/core/modules/image/image.install index 02be57c..0aff0c0 100644 --- a/core/modules/image/image.install +++ b/core/modules/image/image.install @@ -121,6 +121,11 @@ function image_field_schema($field) { 'length' => 512, 'not null' => FALSE, ), + 'description' => array( + 'description' => 'A description of the file.', + 'type' => 'text', + 'not null' => FALSE, + ), 'title' => array( 'description' => "Image title text, for the image's 'title' attribute.", 'type' => 'varchar',