diff options
Diffstat (limited to 'classes/TidypicsImage.php')
-rw-r--r-- | classes/TidypicsImage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php index 26a3483a9..9081bc1fe 100644 --- a/classes/TidypicsImage.php +++ b/classes/TidypicsImage.php @@ -38,6 +38,7 @@ class TidypicsImage extends ElggFile { $this->simpletype = "image"; $this->saveImageFile($data); $this->saveThumbnails(); + $this->extractExifData(); } return true; @@ -326,7 +327,7 @@ class TidypicsImage extends ElggFile { * @warning image file must be saved first */ public function extractExifData() { - include_once dirname(dirname(__FILE__)) . "/lib/exif.php"; + elgg_load_library('tidypics:exif'); td_get_exif($this); } |