aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/TidypicsAlbum.php4
1 files changed, 4 insertions, 0 deletions
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
*