diff options
author | cash <cash.costello@gmail.com> | 2011-12-03 16:46:50 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-03 16:46:50 -0500 |
commit | 5d26276359a4448f0aebc66c3a87b332338e7027 (patch) | |
tree | cd269deb21c9ee0211e6b7d080f9566fd2d5ecb4 /views/default/object/image/summary.php | |
parent | 092197523f135b1aec3de8ff50df0dcf724c8094 (diff) | |
download | elgg-5d26276359a4448f0aebc66c3a87b332338e7027.tar.gz elgg-5d26276359a4448f0aebc66c3a87b332338e7027.tar.bz2 |
better image display code - using elgg_view_entity_icon() now
Diffstat (limited to 'views/default/object/image/summary.php')
-rw-r--r-- | views/default/object/image/summary.php | 6 |
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(), |