diff -urp ../image_fupload/image_fupload_image/image_fupload_image.module .//image_fupload_image/image_fupload_image.module
--- ../image_fupload/image_fupload_image/image_fupload_image.module	2009-03-21 10:42:57.000000000 +0200
+++ .//image_fupload_image/image_fupload_image.module	2009-12-30 14:47:33.000000000 +0200
@@ -34,16 +34,17 @@ function image_fupload_image_form_alter(
   if ($form_id == "image_node_form" && !isset($form['#node']->nid) && arg(0) != 'img_assist' && arg(3) != "noflash" && arg(3) != "list_images" && user_access('mass upload images')) {    
     // Some needed JS & CSS - Files to be included
     $module_path = drupal_get_path('module', 'image_fupload');
-	  drupal_add_js($module_path .'/swfupload/swfupload.js', 'module');
-	  drupal_add_js($module_path .'/swfupload/swfupload.queue.js', 'module');
-	  drupal_add_js($module_path .'/swfupload/fileprogress.js', 'module');
-	  drupal_add_js($module_path .'/swfupload/handlers.js', 'module');
+    $library_path = libraries_get_path('swfupload');
+    drupal_add_js($library_path .'/swfupload.js', 'module');
+    drupal_add_js($library_path .'/swfupload.queue.js', 'module');
+    drupal_add_js($module_path .'/swfupload/fileprogress.js', 'module');
+    drupal_add_js($module_path .'/swfupload/handlers.js', 'module');
     /* Check if another step with editing options is provided  for this user*/
     $redirect_url = '';
     if (user_access('edit captions'))
       $redirect_url = url('node/add/image/list_images');
     /* Check END */
-	  drupal_add_js(theme('swfupload_settings', base_path() . $module_path, url('fupload/flash'), round(variable_get('image_max_upload_size', 800)), '*.jpg; *.jpeg; *.png; *.gif', (!empty($user->sid) ? $user->sid : session_id()), 100, 'image', 'images', 'true', '', $redirect_url), 'inline');
+	  drupal_add_js(theme('swfupload_settings', base_path() . $module_path, base_path() . $library_path, url('fupload/flash'), round(variable_get('image_max_upload_size', 800)), '*.jpg; *.jpeg; *.png; *.gif', (!empty($user->sid) ? $user->sid : session_id()), 100, 'image', 'images', 'true', '', $redirect_url), 'inline');
     drupal_add_css($module_path .'/image_fupload-style.css', 'module', 'all', FALSE);  // Style of swfUpload
         
     unset($form['title'], $form['rebuild_images'], $form['buttons']); //don't need this, title will be generated later using filepath
diff -urp ../image_fupload/image_fupload_imagefield/image_fupload_imagefield.module .//image_fupload_imagefield/image_fupload_imagefield.module
--- ../image_fupload/image_fupload_imagefield/image_fupload_imagefield.module	2009-04-08 15:44:42.000000000 +0300
+++ .//image_fupload_imagefield/image_fupload_imagefield.module	2009-12-30 14:47:34.000000000 +0200
@@ -65,8 +65,9 @@ function image_fupload_imagefield_form_a
     if ($field['widget']['type'] == "image_fupload_imagefield_widget" && arg(3) != "noflash" && arg(3) != "list_imagefields" && user_access('mass upload images')) {
       // load needed JS & CSS - Files
       $module_path = drupal_get_path('module', 'image_fupload');
-      drupal_add_js($module_path .'/swfupload/swfupload.js', 'module');
-      drupal_add_js($module_path .'/swfupload/swfupload.queue.js', 'module');
+      $library_path = libraries_get_path('swfupload');
+      drupal_add_js($library_path .'/swfupload.js', 'module');
+      drupal_add_js($library_path .'/swfupload.queue.js', 'module');
       drupal_add_js($module_path .'/swfupload/fileprogress.js', 'module');
       drupal_add_js($module_path .'/swfupload/handlers.js', 'module');
       
@@ -93,7 +94,7 @@ function image_fupload_imagefield_form_a
       
       $fupload_widget_weight = $field['widget']['weight'];
       $file_max_size = parse_size($field['widget']['max_filesize_per_file']); // maximal allowed file size (bytes)  
-      drupal_add_js(theme('swfupload_settings', base_path() . $module_path, url('fupload/flash'), round($file_max_size/1024), ("*." .str_replace(" ", "; *.", $field['widget']['file_extensions'])), (!empty($user->sid) ? $user->sid : session_id()), $upload_limit_count, $node_type, $field_name, (!empty($field['required']) ? "true" : "false"), $field['widget']['fupload_mode'], $redirect_url), 'inline');
+      drupal_add_js(theme('swfupload_settings', base_path() . $module_path, base_path() . $library_path, url('fupload/flash'), round($file_max_size/1024), ("*." .str_replace(" ", "; *.", $field['widget']['file_extensions'])), (!empty($user->sid) ? $user->sid : session_id()), $upload_limit_count, $node_type, $field_name, (!empty($field['required']) ? "true" : "false"), $field['widget']['fupload_mode'], $redirect_url), 'inline');
       drupal_add_css($module_path .'/image_fupload-style.css', 'module', 'all', FALSE);
       
       // unvisible elements, will be written in cache
diff -urp ../image_fupload/image_fupload.info .//image_fupload.info
--- ../image_fupload/image_fupload.info	2009-04-08 15:50:44.000000000 +0300
+++ .//image_fupload.info	2009-12-30 14:47:34.000000000 +0200
@@ -2,6 +2,7 @@
 name = Image FUpload
 description = "Allows uploading several images all at once using swfUpload"
 core = 6.x
+dependencies[] = libraries
 ; Information added by drupal.org packaging script on 2009-04-08
 version = "6.x-3.0-rc2"
 core = "6.x"
diff -urp ../image_fupload/image_fupload.module .//image_fupload.module
--- ../image_fupload/image_fupload.module	2009-04-07 00:15:41.000000000 +0300
+++ .//image_fupload.module	2009-12-30 14:47:34.000000000 +0200
@@ -115,7 +115,7 @@ function image_fupload_theme() {
   return array(
     'swfupload_settings' => array(
       'template' => 'swfupload-settings',
-      'arguments' => array('modulepath' => NULL, 'uploadpath' => NULL, 'maxfilesize' => NULL, 'fileextensions' => NULL, 'sessionid' => NULL, 'uploadlimit' => NULL, 'nodetype' => NULL, 'fieldname' => NULL, 'field_required' => NULL, 'storage_mode' => NULL, 'redirect_url' => NULL),      
+      'arguments' => array('modulepath' => NULL, 'libpath' => NULL, 'uploadpath' => NULL, 'maxfilesize' => NULL, 'fileextensions' => NULL, 'sessionid' => NULL, 'uploadlimit' => NULL, 'nodetype' => NULL, 'fieldname' => NULL, 'field_required' => NULL, 'storage_mode' => NULL, 'redirect_url' => NULL),      
     ),
     'fupload_create_filename' => array(
       'arguments' => array('image' => NULL, 'replacements' => NULL),
Только в ./: image_fupload-swfupload_as_library.patch
Только в .//swfupload: swfupload.js
Только в .//swfupload: swfupload.queue.js
Только в .//swfupload: swfupload.swf
diff -urp ../image_fupload/swfupload-settings.tpl.php .//swfupload-settings.tpl.php
--- ../image_fupload/swfupload-settings.tpl.php	2009-03-21 10:32:50.000000000 +0200
+++ .//swfupload-settings.tpl.php	2009-12-30 14:47:34.000000000 +0200
@@ -10,7 +10,7 @@
 
 		window.onload = function() {
 			var settings = {
-				flash_url : "<?php print $modulepath; ?>/swfupload/swfupload.swf",
+				flash_url : "<?php print $libpath; ?>/swfupload.swf",
 				upload_url: "<?php print $uploadpath; ?>",	// Relative to the SWF file
         post_params: {"PHPSESSID" : "<?php print $sessionid; ?>" , "nodetype" : "<?php print $nodetype; ?>", "fieldname" : "<?php print $fieldname; ?>"},
         file_post_name: "Filedata",
