aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/image/summary.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/image/summary.php')
-rw-r--r--views/default/object/image/summary.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/default/object/image/summary.php b/views/default/object/image/summary.php
index 71c1be6b9..16c197098 100644
--- a/views/default/object/image/summary.php
+++ b/views/default/object/image/summary.php
@@ -10,11 +10,7 @@
$image = elgg_extract('entity', $vars);
-$img = elgg_view('output/img', array(
- 'src' => $image->getSrcURL(),
- 'alt' => $image->getTitle(),
- 'class' => 'elgg-photo',
-));
+$img = elgg_view_entity_icon($image, 'small');
$header = elgg_view('output/url', array(
'text' => $image->getTitle(),