aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/object/image.php2
-rw-r--r--views/default/tidypics/exif.php6
2 files changed, 5 insertions, 3 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 65319c1be..5bca81a49 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -217,9 +217,7 @@ if ($photo_tags) {
if (get_plugin_setting('exif', 'tidypics') != "disabled") {
?>
- <div id="tidypics_breadcrumbs">
<?php echo elgg_view('tidypics/exif', array('guid'=> $file_guid)); ?>
- </div>
<?php } ?>
<div id="tidypics_info">
<?php if (!is_null($tags)) { ?>
diff --git a/views/default/tidypics/exif.php b/views/default/tidypics/exif.php
index 80d52d781..d6b455309 100644
--- a/views/default/tidypics/exif.php
+++ b/views/default/tidypics/exif.php
@@ -3,6 +3,10 @@
$guid = $vars['guid'];
$exif = tp_exif_formatted($guid);
- if($exif) echo $exif;
+ if ($exif) {
+ echo '<div id="tidypics_breadcrumbs">';
+ echo $exif;
+ echo '</div>';
+ }
?> \ No newline at end of file