aboutsummaryrefslogtreecommitdiff
path: root/classes/TidypicsImage.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 14:42:37 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 14:42:37 -0400
commit0eec78495e5f63a80c2b04fcb87bda1ccb2b6648 (patch)
tree42b2bb3b35e8d6ba2924f0aabe42f218beea6bca /classes/TidypicsImage.php
parent65548983c054a48fe0adb94c327847a7101db390 (diff)
downloadelgg-0eec78495e5f63a80c2b04fcb87bda1ccb2b6648.tar.gz
elgg-0eec78495e5f63a80c2b04fcb87bda1ccb2b6648.tar.bz2
added exif back
Diffstat (limited to 'classes/TidypicsImage.php')
-rw-r--r--classes/TidypicsImage.php3
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);
}