aboutsummaryrefslogtreecommitdiff
path: root/pages/photos
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-02 12:45:16 -0500
committercash <cash.costello@gmail.com>2012-01-02 12:45:16 -0500
commit20ab73de5248b3418bbbad27850e3d3e093c473c (patch)
treecf15a58ad857fbaa4f9b2521c5a7d17ed619f303 /pages/photos
parent86535f77d6b32a2c8a403609ded299a76c73bba0 (diff)
downloadelgg-20ab73de5248b3418bbbad27850e3d3e093c473c.tar.gz
elgg-20ab73de5248b3418bbbad27850e3d3e093c473c.tar.bz2
added photo tagging - but not displaying or deleting tags yet
Diffstat (limited to 'pages/photos')
-rw-r--r--pages/photos/image/view.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/photos/image/view.php b/pages/photos/image/view.php
index f9157a900..6db9ff529 100644
--- a/pages/photos/image/view.php
+++ b/pages/photos/image/view.php
@@ -17,6 +17,11 @@ if (!$photo) {
$photo->addView();
+if (elgg_get_plugin_setting('tagging', 'tidypics')) {
+ elgg_load_js('tidypics:tagging');
+ elgg_load_js('jquery.imgareaselect');
+}
+
// set page owner based on owner of photo album
$album = $photo->getContainerEntity();
if ($album) {