diff -uNr thickbox_orig/thickbox-insert-image.tpl.php thickbox/thickbox-insert-image.tpl.php
--- thickbox_orig/thickbox-insert-image.tpl.php	1970-01-01 03:00:00.000000000 +0300
+++ thickbox/thickbox-insert-image.tpl.php	2010-06-04 23:39:17.000000000 +0400
@@ -0,0 +1,26 @@
+<?php
+/**
+ * @file
+ * Template file for thickbox content inserted via the Insert module.
+ *
+ * Available variables:
+ * - $item: The complete item being inserted.
+ * - $url: The URL to the image.
+ * - $linkurl: The URL to the image being linked to.
+ * - $class: A set of classes assigned to this image (if any).
+ * - $image_preset_name: The ImageCache preset being used for the image.
+ * - $link_preset_name: The ImageCache preset being used for the linked to image.
+ *
+ * Note that ALT and Title fields should not be filled in here, instead they
+ * should use placeholders that will be updated through JavaScript when the
+ * image is inserted.
+ *
+ * Available placeholders:
+ * - __alt__: The ALT text, intended for use in the <img> tag.
+ * - __title__: The Title text, intended for use in the <img> tag.
+ * - __description__: A description of the image, sometimes used as a caption.
+ */
+
+
+?>
+<a class="thickbox" title="__alt__" href="<?php print $linkurl ?>"><img src="<?php print $url ?>" alt="__alt__" class="imagecache-<?php print $image_preset_name ?><?php print $class ? ' ' . $class : '' ?>" /></a>
\ В конце файла нет новой строки
diff -uNr thickbox_orig/thickbox.insert.inc thickbox/thickbox.insert.inc
--- thickbox_orig/thickbox.insert.inc	1970-01-01 03:00:00.000000000 +0300
+++ thickbox/thickbox.insert.inc	2010-06-04 21:21:53.000000000 +0400
@@ -0,0 +1,59 @@
+<?php
+/**
+ * @file
+ * thickbox support for Insert module.
+ */
+
+/**
+ * Implementation of hook_insert_styles().
+ */
+function thickbox_insert_styles() {
+  $cck_formatters = thickbox_field_formatter_info();
+  $insert_styles = array();
+
+  // Reformat CCK formatter ids as Insert style ids.
+  foreach ($cck_formatters as $formatter_id => $formatter_info) {
+    if (preg_match('/^([^\]]+)\]\[.*$/', $formatter_id, $matches)) {
+      $style_id = 'thickbox--' . $matches[1];
+      $insert_styles[$style_id] = $formatter_info;
+    }
+  }
+
+  return $insert_styles;
+}
+
+/**
+ * Implementation of hook_insert_content().
+ */
+function thickbox_insert_content($item, $style, $widget) {
+  if (preg_match('/^thickbox--((?:-(?!-)|[^-])+)$/', $style['name'], $matches)) {
+    $image_preset_name = $matches[1];
+
+    return theme('thickbox_insert_image', $item, $widget, 'view', $image_preset_name, $link_preset_name);
+  }
+  else {
+    return '';
+  }
+}
+
+/**
+ * Theme the content that will be inserted for thickbox presets.
+ */
+function template_preprocess_thickbox_insert_image(&$vars) {
+
+  if ($vars['image_preset_name'] != 'original') {
+    $filepath = imagecache_create_path($vars['image_preset_name'], $vars['item']['filepath']);
+  }
+  else {
+    $filepath = $vars['item']['filepath'];
+  }
+
+  $vars['url'] = insert_create_url($filepath);
+
+  $linkpath = $vars['item']['filepath'];
+
+  $vars['linkurl'] = insert_create_url($linkpath);
+
+  $vars['class'] = !empty($vars['widget']['insert_class']) ? $vars['widget']['insert_class'] : '';
+}
+
diff -uNr thickbox_orig/thickbox.module thickbox/thickbox.module
--- thickbox_orig/thickbox.module	2009-09-07 19:07:01.000000000 +0400
+++ thickbox/thickbox.module	2010-06-04 20:38:57.000000000 +0400
@@ -27,6 +27,15 @@
     }
   }
 
+  // Additional Insert theme functions.
+  if (module_exists('insert')) {
+    // Theme functions in thickbox.insert.inc.
+    $theme['thickbox_insert_image'] = array(
+      'arguments' => array('item' => NULL, 'widget' => NULL, 'type' => NULL, 'image_preset_name' => NULL, 'link_preset_name' => NULL),
+      'template' => 'thickbox-insert-image',
+    );
+  }
+
   return $theme;
 }
 
@@ -35,6 +44,11 @@
  */
 function thickbox_init() {
   _thickbox_doheader();
+
+  // Insert support
+  if (module_exists('insert')) {
+    module_load_include('inc', 'thickbox', 'thickbox.insert');
+  }
 }
 
 /**
