mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
feature 1381: pwg.images.add automatically synchronizes metadata. Thank you to
Jochen Roth (Polly) for the patch. git-svn-id: http://piwigo.org/svn/branches/2.0@4684 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1254,6 +1254,10 @@ SELECT
|
||||
);
|
||||
}
|
||||
|
||||
// update metadata from the uploaded file (exif/iptc)
|
||||
require_once(PHPWG_ROOT_PATH.'admin/include/functions_metadata.php');
|
||||
update_metadata(array($image_id=>$file_path));
|
||||
|
||||
invalidate_user_cache();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user