From 5d26276359a4448f0aebc66c3a87b332338e7027 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 3 Dec 2011 16:46:50 -0500 Subject: better image display code - using elgg_view_entity_icon() now --- views/default/forms/photos/batch/edit/image.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'views/default/forms/photos/batch/edit') diff --git a/views/default/forms/photos/batch/edit/image.php b/views/default/forms/photos/batch/edit/image.php index bf982ed84..eed804e90 100644 --- a/views/default/forms/photos/batch/edit/image.php +++ b/views/default/forms/photos/batch/edit/image.php @@ -13,11 +13,7 @@ $image = $vars['entity']; echo '
'; echo '
'; -echo elgg_view('output/img', array( - 'src' => $image->getSrcURL(), - 'alt' => $image->getTitle(), - 'class' => 'elgg-photo', -)); +echo elgg_view_entity_icon($image, 'small', array('href' => false)); echo '
'; echo '
'; -- cgit v1.2.3