Index: img_assist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/img_assist.module,v
retrieving revision 1.68.2.49
diff -u -p -r1.68.2.49 img_assist.module
--- img_assist.module	6 Apr 2008 17:46:15 -0000	1.68.2.49
+++ img_assist.module	9 Jun 2008 18:49:15 -0000
@@ -1918,3 +1918,20 @@ function theme_img_assist_legacy() {
  */
 
 
+/**
+ * Implementation of hook_wysiwyg_plugin().
+ */
+function img_assist_wysiwyg_plugin($editor) {
+  switch ($editor) {
+    case 'tinymce':
+      return array(
+        'drupalimage' => array(
+          'path' => drupal_get_path('module', 'img_assist') .'/drupalimage',
+          'theme_advanced_buttons1' => array('drupalimage'),
+          'extended_valid_elements' => array('img[class|src|border=0|alt|title|width|height|align|name]'),
+        )
+      );
+  }
+}
+
+
