Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When entering multiple images, and using a text field for (what I presume is) the description, the labels are reversed as shown in the attachment - i.e. 'Title' should be on top, and 'Description' on bottom. I'm using version 6x-2.9 for CCK. Thanks.
Comment | File | Size | Author |
---|---|---|---|
image_label_bug.png | 24.49 KB | RJL-dupe |
Comments
Comment #1
quicksketchThe "description" field actually doesn't do anything at all for images. It's just used for FileFields. It's an unfortunate side-effect of ImageFields being based on top of FileFields (which *do* use descriptions). So my general suggestion is *don't use descriptions* on ImageFields. Instead you should probably be specifying an Alt tag and a Title. Also keep in mind that the "Title" on an image isn't like the title of a node, it's an attribute on the
<img>
tag itself.At this point in the D6 cycle, I'm not making many changes to ImageField. This will probably stay the way it is unless there's a good reason to switch it. I agree that it totally doesn't make any sense that we have a field that essentially is broken and doesn't do anything, but with ImageField in use on so many sites, any "fix" we'd make to it would end up breaking sites that are using the field. Even though it doesn't do anything by default, people could be using it for any kind of purpose (like using it as a caption).
Comment #2
quicksketchHere's another explanation of the description field: #1173394: Description field.