--- upload_image.module.orig	2007-01-04 10:28:13.000000000 -0600
+++ upload_image.module.comment	2007-01-13 12:07:21.000000000 -0600
@@ -158,6 +158,7 @@ function upload_image_save($node) {
           foreach (array('status', 'moderate', 'promote', 'sticky', 'revision') as $key) {
             $image->$key = in_array($key, $node_options);
           }
+          $image->comment = variable_get('comment_image', 0);
           $image->body = t('This image was uploaded with the post %title.', array('%title' => l(theme('placeholder', $node->title), "node/$node->nid", array(), NULL, NULL, FALSE, TRUE)));
           $image->image = $file;
           $image->file = $image->images['_original'] = $file->filepath;
