aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/album/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/album/list.php')
-rw-r--r--views/default/object/album/list.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/views/default/object/album/list.php b/views/default/object/album/list.php
index ccbd01cd1..e576c92f1 100644
--- a/views/default/object/album/list.php
+++ b/views/default/object/album/list.php
@@ -37,16 +37,6 @@ $params = array(
$params = $params + $vars;
$summary = elgg_view('object/elements/summary', $params);
-$cover = elgg_view('output/img', array(
- 'src' => $album->getCoverImageURL('thumb'),
- 'alt' => $album->getTitle(),
- 'class' => 'elgg-photo',
-));
-$icon = elgg_view('output/url', array(
- 'text' => $cover,
- 'href' => $album->getURL(),
- 'encode_text' => false,
- 'is_trusted' => true,
-));
+$icon = elgg_view_entity_icon($album, 'tiny');
echo $header = elgg_view_image_block($icon, $summary);