aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/photos/batch
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-03 16:46:50 -0500
committercash <cash.costello@gmail.com>2011-12-03 16:46:50 -0500
commit5d26276359a4448f0aebc66c3a87b332338e7027 (patch)
treecd269deb21c9ee0211e6b7d080f9566fd2d5ecb4 /views/default/forms/photos/batch
parent092197523f135b1aec3de8ff50df0dcf724c8094 (diff)
downloadelgg-5d26276359a4448f0aebc66c3a87b332338e7027.tar.gz
elgg-5d26276359a4448f0aebc66c3a87b332338e7027.tar.bz2
better image display code - using elgg_view_entity_icon() now
Diffstat (limited to 'views/default/forms/photos/batch')
-rw-r--r--views/default/forms/photos/batch/edit/image.php6
1 files changed, 1 insertions, 5 deletions
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 '<div class="elgg-image-block">';
echo '<div class="elgg-image">';
-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 '</div>';
echo '<div class="elgg-body"><fieldset class="mlm">';