aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-19 12:10:46 -0500
committercash <cash.costello@gmail.com>2011-11-19 12:10:46 -0500
commit4562cfbb1a630b14fd194271f99f1f8c098dc38d (patch)
tree926e9e22cca553f48583ff25d782a092795ceb7c /views/default/object/image.php
parenteb9b13e1bfd861cba9b7a812d929b565d5775175 (diff)
downloadelgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.gz
elgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.bz2
basic pages for viewing all/mine/friends and viewing an album
Diffstat (limited to 'views/default/object/image.php')
-rw-r--r--views/default/object/image.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 8c1f23ec2..12d58440d 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -1,9 +1,24 @@
<?php
/**
+ * Image view
*
- * Tidypics image object views
+ * @uses $vars['entity'] TidypicsImage
+ *
+ * @author Cash Costello
+ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
*/
+
+$full_view = elgg_extract('full_view', $vars, false);
+
+if ($full_view) {
+ echo elgg_view('object/image/full', $vars);
+} else {
+ echo elgg_view('object/image/summary', $vars);
+}
+
+return true;
+
global $CONFIG;
include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/lib/exif.php";