aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-04-17 19:08:06 +0000
committerpatdenice <patdenice@piwigo.org>2011-04-17 19:08:06 +0000
commitf7bc47d1f6858ee880950522e32e99a0df31aecf (patch)
treeefd2325572dd57e9e277aab83dc569bce996250e /include/ws_functions.inc.php
parentb58846ff7baa1e0dc32c7257605e88f13bb43c03 (diff)
feature:2259
Add "Regenerate Websize Photos" action. git-svn-id: http://piwigo.org/svn/trunk@10454 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r--include/ws_functions.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index a2442530f..0bf39d61b 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -2726,6 +2726,11 @@ WHERE id = '.(int)$params['image_id'].'
$params['quality'],
false
);
+
+ $conf['use_exif'] = false;
+ $conf['use_iptc'] = false;
+ update_metadata(array($image['id'] => $image['path']));
+
return true;
}
return false;