From 4562cfbb1a630b14fd194271f99f1f8c098dc38d Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Nov 2011 12:10:46 -0500 Subject: basic pages for viewing all/mine/friends and viewing an album --- classes/TidypicsImage.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'classes/TidypicsImage.php') diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php index 531d54912..652cc9e9b 100644 --- a/classes/TidypicsImage.php +++ b/classes/TidypicsImage.php @@ -17,6 +17,19 @@ class TidypicsImage extends ElggFile { parent::__construct($guid); } + /** + * Get the title of the image + * + * @return string + */ + public function getTitle() { + return $this->title; + } + + public function getSrcUrl() { + return "pg/photos/thumbnail/$this->guid/small/"; + } + /** * delete image * -- cgit v1.2.3