aboutsummaryrefslogtreecommitdiff
path: root/views/default
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
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')
-rw-r--r--views/default/object/album.php6
-rw-r--r--views/default/tidypics/albums.php4
2 files changed, 5 insertions, 5 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">
diff --git a/views/default/tidypics/albums.php b/views/default/tidypics/albums.php
index ba75760c6..9c75bf024 100644
--- a/views/default/tidypics/albums.php
+++ b/views/default/tidypics/albums.php
@@ -14,9 +14,9 @@
foreach($owner_albums as $album) {
if($album->cover)
- $album_cover = '<img src="'.$vars['url'].'mod/tidypics/thumbnail.php?file_guid='.$album->cover.'&size=small" border="0" class="tidypics_album_cover" alt="' . $album->title . '"/>';
+ $album_cover = '<img src="'.$vars['url'].'mod/tidypics/thumbnail.php?file_guid='.$album->cover.'&size=small" class="tidypics_album_cover" alt="' . $album->title . '"/>';
else
- $album_cover = '<img src="'.$vars['url'].'mod/tidypics/graphics/img_error.jpg" border="0" class="tidypics_album_cover" alt="' . $album->title . '">';
+ $album_cover = '<img src="'.$vars['url'].'mod/tidypics/graphics/empty_album.png" class="tidypics_album_cover" alt="' . $album->title . '">';
?>
<div class="tidypics_album_widget_single_item">
<div class="tidypics_album_widget_title"><a href="<?php echo $album->getURL();?>"><?php echo $album->title;?></a></div>