Print array of imagefield fields for node type I need to get an array of imagefields for a specific node type or even just all imagefields or all fields for a node type.
You can get a list of all fields for a particular content type using the content_types() function:

$type = content_types($type_name);

if (isset($type['fields'])) {
  $fields = $type['fields'];
}


From there you can just loop through and see what type of field each is, and act on it accordingly.