aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 546cd711e..b65dc858e 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -172,14 +172,18 @@ if ($photo_tags) {
<?php
// image menu (start tagging, download, etc.)
echo '<div id="tidypics_controls"><ul>';
- echo elgg_view('tidypics/image_menu', array('file_guid' => $file_guid,) );
+ echo elgg_view('tidypics/image_menu', array('file_guid' => $file_guid,
+ 'viewer' => $viewer,
+ 'owner' => $owner,) );
echo '</ul></div>';
// tagging code
echo elgg_view('tidypics/tagging', array( 'photo_tags' => $photo_tags,
'links' => $photo_tag_links,
'photo_tags_json' => $photo_tags_json,
- 'file_guid' => $file_guid, ) );
+ 'file_guid' => $file_guid,
+ 'viewer' => $viewer,
+ 'owner' => $owner, ) );
?>
<div id="tidypics_breadcrumbs">