Index: wp-admin/inline-uploading.php
===================================================================
--- wp-admin/inline-uploading.php	(revision 3273)
+++ wp-admin/inline-uploading.php	(working copy)
@@ -5,7 +5,7 @@
 if (!current_user_can('edit_posts'))
 	die(__('You do not have permission to edit posts.'));
 
-$wpvarstoreset = array('action', 'post', 'all', 'last', 'link', 'sort', 'start', 'imgtitle', 'descr', 'attachment');
+$wpvarstoreset = array('action', 'post', 'all', 'last', 'link', 'sort', 'start', 'imgtitle', 'descr', 'attachment', 'thumbnail');
 
 for ($i=0; $i<count($wpvarstoreset); $i += 1) {
 	$wpvar = $wpvarstoreset[$i];
@@ -83,7 +83,7 @@
 
 	add_post_meta($id, '_wp_attachment_metadata', $imagedata);
 
-	if ( $imagedata['width'] * $imagedata['height'] < 3 * 1024 * 1024 ) {
+	if ( $thumbnail && ($imagedata['width'] * $imagedata['height'] < 3 * 1024 * 1024) ) {
 		if ( $imagedata['width'] > 128 && $imagedata['width'] >= $imagedata['height'] * 4 / 3 )
 			$error = wp_create_thumbnail($file, 128);
 		elseif ( $imagedata['height'] > 96 )
@@ -548,6 +548,7 @@
 <input type="hidden" name="action" value="save" />
 <input type="hidden" name="post" value="<?php echo $post; ?>" />
 <input type="hidden" name="all" value="<?php echo $all; ?>" />
+<label for="thumbnail"><?php _e('Create Thumbnail'); ?><input type="checkbox" name="thumbnail" id="thumbnail" value="1" /></label>
 <input type="submit" value="<?php _e('Upload'); ?>" />
 <input type="button" value="<?php _e('Cancel'); ?>" onclick="cancelUpload()" />
 </td>

