diff options
Diffstat (limited to 'classes/TidypicsImage.php')
-rw-r--r-- | classes/TidypicsImage.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php index 531d54912..652cc9e9b 100644 --- a/classes/TidypicsImage.php +++ b/classes/TidypicsImage.php @@ -18,6 +18,19 @@ class TidypicsImage extends ElggFile { } /** + * 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 * * @return bool |