Index: sites/default/modules/img_assist/img_assist.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/img_assist/img_assist.module,v
retrieving revision 1.56.2.6
diff -u -r1.56.2.6 img_assist.module
--- sites/default/modules/img_assist/img_assist.module	16 Jun 2006 17:33:15 -0000	1.56.2.6
+++ sites/default/modules/img_assist/img_assist.module	13 Oct 2006 20:13:32 -0000
@@ -769,6 +769,12 @@
       }
     }
 
+    // Add a choice for 'original' if it's within the maximum size.
+    $original_info = image_get_info(file_create_path($node->images['_original']));
+    if ($original_info !== FALSE && $original_info['width'] <= $max_size[0] && $original_info['height'] <= $max_size[1]) {
+      $derivatives[$original_info['width'] . 'x' . $original_info['height']] = t('original');
+    }
+
     // Add a choice for 'other' if the user has the proper permission to create custom sizes
     if ($img_assist_create_derivatives['custom_advanced'] && user_access('access advanced options')) {
       $derivatives['other'] = t('other');
