From 9b838be94d37d560b1a05f76cd5ecca5d41119fc Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 1 Dec 2011 22:00:06 -0500 Subject: river views for image and albums - not for batches yet --- classes/TidypicsAlbum.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes') diff --git a/classes/TidypicsAlbum.php b/classes/TidypicsAlbum.php index f85b66d72..028811e55 100644 --- a/classes/TidypicsAlbum.php +++ b/classes/TidypicsAlbum.php @@ -122,6 +122,10 @@ class TidypicsAlbum extends ElggObject { return elgg_view_entity_list($images, $count, $offset, $limit, false, false, true); } + public function getCoverImage() { + return get_entity($this->getCoverImageGuid()); + } + /** * Get the URL for the album cover image * -- cgit v1.2.3