aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image/full.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/image/full.php')
-rw-r--r--views/default/object/image/full.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/object/image/full.php b/views/default/object/image/full.php
index 4e2c02a9a..74436f500 100644
--- a/views/default/object/image/full.php
+++ b/views/default/object/image/full.php
@@ -13,10 +13,8 @@ $image = $photo = $vars['entity'];
$img = elgg_view_entity_icon($image, 'large', array(
'href' => $image->getIconURL('master'),
'img_class' => 'tidypics-photo',
- 'link_class' => 'tidypics-lightbox',
+ 'link_class' => 'tidypics-lightbox elgg-lightbox-photo',
));
-elgg_load_js('lightbox');
-elgg_load_css('lightbox');
$owner_link = elgg_view('output/url', array(
'href' => "photos/owner/" . $photo->getOwnerEntity()->username,