aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/album.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-20 19:22:35 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-20 19:22:35 +0000
commit139964bcc7bc8c0fc4fd708d9df265e067049391 (patch)
treeb29324fcc7d8bd8c7e2bdaf1069ae0fbe0bd2691 /views/default/object/album.php
parent59b9d6b625884f5d47aae02671cfa77011005da2 (diff)
downloadelgg-139964bcc7bc8c0fc4fd708d9df265e067049391.tar.gz
elgg-139964bcc7bc8c0fc4fd708d9df265e067049391.tar.bz2
finished improving thumbnail code and replaced the old image error image
Diffstat (limited to 'views/default/object/album.php')
-rw-r--r--views/default/object/album.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/object/album.php b/views/default/object/album.php
index 1e8ff9dc9..eb26123e2 100644
--- a/views/default/object/album.php
+++ b/views/default/object/album.php
@@ -5,7 +5,7 @@
global $CONFIG;
- $file = $vars['entity'];
+ $file = $vars['entity'];
$file_guid = $file->getGUID();
$tags = $file->tags;
$title = $file->title;
@@ -14,7 +14,7 @@
$friendlytime = friendly_time($vars['entity']->time_created);
$mime = $file->mimetype;
- if (get_context() == "search") {
+ if (get_context() == "search") {
if (get_input('search_viewtype') == "gallery") {
//default gallery view for album listing @ /photos/owned/
@@ -23,7 +23,7 @@
if($file->cover)
$album_cover = '<img src="'.$vars['url'].'mod/tidypics/thumbnail.php?file_guid='.$file->cover.'&size=small" border="0" class="tidypics_album_cover" alt="thumbnail"/>';
else
- $album_cover = '<img src="'.$vars['url'].'mod/tidypics/graphics/img_error.jpg" class="tidypics_album_cover" alt="new album">';
+ $album_cover = '<img src="'.$vars['url'].'mod/tidypics/graphics/empty_album.png" class="tidypics_album_cover" alt="new album">';
?>
<div class="tidypics_album_gallery_item">