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/river/object/tidypics_batch/create.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/river/object/tidypics_batch/create.php')
-rw-r--r-- | views/default/river/object/tidypics_batch/create.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/river/object/tidypics_batch/create.php b/views/default/river/object/tidypics_batch/create.php index 1dfce6925..44c40c110 100644 --- a/views/default/river/object/tidypics_batch/create.php +++ b/views/default/river/object/tidypics_batch/create.php @@ -1,6 +1,9 @@ <?php /** * Batch river view + * + * @author Cash Costello + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 */ $batch = $vars['item']->getObjectEntity(); @@ -34,10 +37,7 @@ if (count($images)) { $attachments = '<ul class="tidypics-river-list">'; foreach($images as $image) { $attachments .= '<li class="tidypics-photo-item">'; - $attachments .= elgg_view('output/img', array( - 'src' => $image->getSrcUrl('thumb'), - 'class' => 'elgg-photo', - )); + $attachments .= elgg_view_entity_icon($image, 'tiny'); $attachments .= '</li>'; } $attachments .= '</ul>'; |