--- image.module	2009-03-09 03:24:33.000000000 +0100
+++ image.module.new	2009-03-30 17:49:49.000000000 +0200
@@ -1001,7 +1001,7 @@ function _image_insert(&$node, $size, $i
  * @return
  *   A node object if the node is created successfully or FALSE on error.
  */
-function image_create_node_from($filepath, $title = NULL, $body = '', $taxonomy = NULL) {
+function image_create_node_from($filepath, $title = NULL, $body = '', $taxonomy = NULL, $language = '') {
   global $user;
 
   if (!user_access('create images')) {
@@ -1044,6 +1044,9 @@ function image_create_node_from($filepat
   if (module_exists('taxonomy')) {
     $node->taxonomy = $taxonomy;
   }
+  if (module_exists('i18n')){
+    $node->language = $language;
+  }
 
   $node->new_file = TRUE;
   $node->images[IMAGE_ORIGINAL] = $filepath;
