aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-05-20 05:01:21 +0000
committerGreg Froese <greg.froese@gmail.com>2009-05-20 05:01:21 +0000
commit12a27fa3b501cf08091cd063dd3208a17e0f624a (patch)
treed993e49523465f2e2d8e856785072526a72cff30 /views/default/object/image.php
parent63b91d8aee8e40497d865591d16ee1716e0c9c15 (diff)
downloadelgg-12a27fa3b501cf08091cd063dd3208a17e0f624a.tar.gz
elgg-12a27fa3b501cf08091cd063dd3208a17e0f624a.tar.bz2
added exif support
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index f64942b61..546cd711e 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -5,6 +5,8 @@
*/
global $CONFIG;
+ include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/lib/exif.php";
+
$file = $vars['entity'];
$file_guid = $file->getGUID();
$tags = $file->tags;
@@ -180,7 +182,12 @@ if ($photo_tags) {
'file_guid' => $file_guid, ) );
?>
-
+ <div id="tidypics_breadcrumbs">
+ <?php
+ $exif = tp_exif_formatted($file_guid);
+ if($exif) echo $exif;
+ ?>
+ </div>
<div id="tidypics_info">
<?php if (!is_null($tags)) { ?>
<div class="object_tag_string"><?php echo elgg_view('output/tags',array('value' => $tags));?></div>