Index: image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image/image.module,v
retrieving revision 1.302
diff -u -r1.302 image.module
--- image.module	9 Mar 2009 02:24:33 -0000	1.302
+++ image.module	26 Mar 2009 10:46:40 -0000
@@ -1068,3 +1068,18 @@
   );
 }
 
+/**
+ * Implementation of hook_content_extra_fields().
+ *
+ * Lets CCK expose the image weight in the node content.
+ */
+function image_content_extra_fields($type_name) {
+  if ($type_name == 'image') {
+    $extra['image'] = array(
+      'label' => t('Image'),
+      'description' => t('Image display.'),
+      'weight' => 0,
+    );
+    return $extra;
+  }
+}
