aboutsummaryrefslogtreecommitdiff
path: root/pages/photos
diff options
context:
space:
mode:
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) {