diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-12-27 20:26:49 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-12-27 20:26:49 +0000 |
commit | e42f791f52c502c00d095d6bf9aa3e3989423e98 (patch) | |
tree | 965cbd888b954302e4652fefa7d56ef2e074eb66 /include/picture_metadata.inc.php | |
parent | 753f58d6a966a1051dcd62a3eeab8fc18798bcac (diff) |
feature 2541 multisize
- nicer presentation on picture.php
- added a maintenance purge derivatives action
git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/picture_metadata.inc.php')
-rw-r--r-- | include/picture_metadata.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/picture_metadata.inc.php b/include/picture_metadata.inc.php index db0aff887..49bb9f011 100644 --- a/include/picture_metadata.inc.php +++ b/include/picture_metadata.inc.php @@ -36,7 +36,7 @@ if (($conf['show_exif']) and (function_exists('read_exif_data'))) $exif_mapping[$field] = $field; } - $exif = get_exif_data($picture['current']['image_path'], $exif_mapping); + $exif = get_exif_data($picture['current']['src_image']->get_path(), $exif_mapping); if (count($exif) > 0) { @@ -79,7 +79,7 @@ if (($conf['show_exif']) and (function_exists('read_exif_data'))) if ($conf['show_iptc']) { - $iptc = get_iptc_data($picture['current']['image_path'], $conf['show_iptc_mapping']); + $iptc = get_iptc_data($picture['current']['src_image']->get_path(), $conf['show_iptc_mapping']); if (count($iptc) > 0) { |