# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: contributions/modules/image/image.module
--- contributions/modules/image/image.module Base (1.302)
+++ contributions/modules/image/image.module Locally Modified (Based On 1.302)
@@ -1068,3 +1068,20 @@
   );
 }
 
+/**
+ * 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 = array();
+
+    $extra['image'] = array(
+      'label' => t('Image'),
+      'description' => t('Image display.'),
+      'weight' => 0,
+    );
+
+    return $extra;
+  }
+}
