Index: highslide.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/highslide/highslide.module,v
retrieving revision 1.4
diff -u -p -r1.4 highslide.module
--- highslide.module	20 Jun 2009 21:46:27 -0000	1.4
+++ highslide.module	29 Oct 2009 13:56:35 -0000
@@ -354,6 +354,30 @@ function highslide_field_formatter($fiel
 }
 
 /**
+ * Implementation of hook_insert_styles().
+ */
+function highslide_insert_styles() {
+  $insert_styles = array();
+
+  if (function_exists('imagecache_presets')) {
+    foreach (highslide_formatters() as $formatter) {
+      $insert_styles['hs_'. $formatter['name']] = array(
+        'label' => $formatter['label'] .' (Zooms)',
+      );
+    }
+  }
+
+  return $insert_styles;
+}
+
+/**
+ * Implementation of hook_insert_content().
+ */
+function highslide_insert_content($item, $style, $widget) {
+  return highslide_field_formatter(NULL, $item, $style['name']);
+}
+
+/**
  * Adds the css and js files and settings.
  */
 function highslide_add_files() {
