diff options
Diffstat (limited to 'views/default/object/image/summary.php')
-rw-r--r-- | views/default/object/image/summary.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/object/image/summary.php b/views/default/object/image/summary.php index ed8ceff38..34a726353 100644 --- a/views/default/object/image/summary.php +++ b/views/default/object/image/summary.php @@ -10,7 +10,6 @@ $image = elgg_extract('entity', $vars); -$img = elgg_view_entity_icon($image, 'small'); $header = elgg_view('output/url', array( 'text' => $image->getTitle(), @@ -19,11 +18,12 @@ $header = elgg_view('output/url', array( 'class' => 'tidypics-heading', )); -$body = elgg_view('output/url', array( - 'text' => $img, +$body = elgg_view_entity_icon($image, 'small', array( 'href' => $image->getURL(), + 'img_class' => 'tidypics-photo', 'encode_text' => false, 'is_trusted' => true, + 'link_class' => 'tidypics-lightbox elgg-lightbox', )); /* |