Expected Results:
I add a description to the image and it appears on the node.
When I unselect "list" from an image the image does not appear.
Unexpected Results:
Description & List do nothing.
To replicate:
Drupal 6.19
CCK 6.x-2.8
Filefield 6.x-3.7
Imagefield 6.x-3.7
(Duplicated on fresh install with only these modules and upload enabled as well as on two other sites)
Add filefield with image widget to content. Set list field & description field to enabled. Create new node and upload a image. Set a description for the image and save the node out. The description does not appear on the node. Edit the node and unselect list. Save the node back out. Image still appears on node.
Comments
Comment #1
Durrok commentedLooking into the module it would appear that imagefield doesn't even check to see if list or description is set. I was able to get this to work like filefield by adding the following to filefield in the theme_imagefiled_image function:
The function now looks like:
Patch included.
Comment #2
Durrok commentedComment #3
quicksketch#358729: Imagefield formatters don't respect visibility options
Comment #4
Durrok commentedSorry I searched for it, guess I wasn't speaking the same language. :)