Index: /trunk/include/ws_functions.inc.php
===================================================================
--- /trunk/include/ws_functions.inc.php	(revision 9742)
+++ /trunk/include/ws_functions.inc.php	(revision 9944)
@@ -1450,4 +1450,17 @@
     $url_params['category'] = $category;
   }
+
+  // update metadata from the uploaded file (exif/iptc), even if the sync
+  // was already performed by add_uploaded_file().
+  $query = '
+SELECT
+    path
+  FROM '.IMAGES_TABLE.'
+  WHERE id = '.$image_id.'
+;';
+  list($file_path) = pwg_db_fetch_row(pwg_query($query));
+  
+  require_once(PHPWG_ROOT_PATH.'admin/include/functions_metadata.php');
+  update_metadata(array($image_id=>$file_path));
 
   return array(
