Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/insert/README.txt,v
retrieving revision 1.1
diff -u -r1.1 README.txt
--- README.txt	13 Mar 2010 21:02:32 -0000	1.1
+++ README.txt	27 Jul 2010 03:58:36 -0000
@@ -43,6 +43,20 @@
    an "Insert" button will appear. Click this button to send the file or image
    into the Body field.
 
-Insert should would on multiple fields (the last field that was active will
+Insert should work on multiple fields (the last field that was active will
 received the file), and with most popular WYSIWYG editors. Note that FCKeditor
 only supports the Body field due to an API limitation.
+
+Theming
+-------
+
+Insert can be configured to work with non-HTML filters like BBCode or Markdown.
+To do this, copy the template file you would like to change from the "templates"
+directory to your active theme's directory. Then empty your Drupal caches at
+admin/settings/performance.
+
+The ImageCache templates may also be used per ImageCache preset. You can copy
+the imagecache-insert-image.tpl.php file to your theme directory and then
+rename it to imagecache-insert-image--[preset-name].tpl.php, where [preset-name]
+is the name of the ImageCache preset. Change underscores to hyphens in the
+preset name.
Index: insert.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/insert/insert.module,v
retrieving revision 1.4.2.3
diff -u -r1.4.2.3 insert.module
--- insert.module	27 Jul 2010 01:38:28 -0000	1.4.2.3
+++ insert.module	27 Jul 2010 03:58:37 -0000
@@ -71,6 +71,7 @@
     'imagecache_insert_image' => array(
       'arguments' => array('item' => NULL, 'widget' => NULL, 'preset_name' => NULL),
       'template' => 'templates/imagecache-insert-image',
+      'pattern' => 'imagecache_insert_image__[a-z0-9_]+',
       'includes/imagecache.inc',
     ),
   );
Index: includes/imagecache.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/insert/includes/Attic/imagecache.inc,v
retrieving revision 1.2
diff -u -r1.2 imagecache.inc
--- includes/imagecache.inc	8 Jan 2010 18:58:23 -0000	1.2
+++ includes/imagecache.inc	27 Jul 2010 03:58:37 -0000
@@ -25,7 +25,7 @@
  */
 function imagecache_insert_content($item, $style, $widget) {
   $preset_name = preg_replace('/^imagecache_/', '', $style['name']);
-  return theme('imagecache_insert_image', $item, $widget, $preset_name);
+  return theme(array('imagecache_insert_image__' . str_replace('-', '_', $preset_name), 'imagecache_insert_image'), $item, $widget, $preset_name);
 }
 
 /**
