diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-13 02:03:17 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-13 02:03:17 +0000 |
commit | dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 (patch) | |
tree | 71f92cbf22405ddbec079480e207c7fd3fe00e0a /views/default/object/album.php | |
parent | e7a7c88d81f494d8a0c99f36338247caaf6b4bd3 (diff) | |
download | elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.gz elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.bz2 |
fixed display of some album pages - caused a cascade of changes required
Diffstat (limited to 'views/default/object/album.php')
-rw-r--r-- | views/default/object/album.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/object/album.php b/views/default/object/album.php index 6ef6bc356..31e46d46d 100644 --- a/views/default/object/album.php +++ b/views/default/object/album.php @@ -22,20 +22,22 @@ * * Gallery view of an album object * - * This is called when looking at page of albums (index.php). + * This is called when looking at page of albums * * *****************************************************************************/ //get album cover if one was set if ($album->cover) - $album_cover = '<img src="' . $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=small" class="tidypics_album_cover" alt="thumbnail"/>'; + $album_cover = '<img src="' . $vars['url'] . 'pg/photos/thumbnail/' . $album->cover . '/small/" class="tidypics_album_cover" alt="' . $title . '"/>'; else $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"> - <a href="<?php echo $album->getURL();?>"><?php echo $title;?></a><br> + <div class="tidypics_gallery_title"> + <a href="<?php echo $album->getURL();?>"><?php echo $title;?></a> + </div> <a href="<?php echo $album->getURL();?>"><?php echo $album_cover;?></a><br> <small><a href="<?php echo $vars['url'];?>pg/profile/<?php echo $owner->username;?>"><?php echo $owner->name;?></a> <?php echo $friendlytime;?><br> <?php |