Add Description text for image fields

Created on 20 February 2011, over 13 years ago
Updated 11 January 2024, 6 months ago

There used to be a "description" field to go with uploaded images using the ImageField CCK module. This particular field made the ImageField module very useful as clients often provide copy to accompany multiple uploaded images within a single node. In Drupal 7, however, this "description" field is missing.

I have tried commenting the following line in the image.field.inc file in the function image_field_instance_settings_form($field, $instance):

// Remove the description option.
unset($form['description_field']);

Surprisingly, this seemed to work. However, I am concerned about the long-term ramifications of this solution, particularly when I apply updates to Drupal. I am wondering why this vital functionality was removed in the first place and what official workarounds there are for its absence.

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
Image moduleΒ  β†’

Last updated about 2 hours ago

Created by

Live updates comments and jobs are added and updated live.
  • html5

    Implements and supports the use of HTML5.

  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024