From f7bc47d1f6858ee880950522e32e99a0df31aecf Mon Sep 17 00:00:00 2001 From: patdenice Date: Sun, 17 Apr 2011 19:08:06 +0000 Subject: feature:2259 Add "Regenerate Websize Photos" action. git-svn-id: http://piwigo.org/svn/trunk@10454 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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; -- cgit v1.2.3