aboutsummaryrefslogtreecommitdiff
path: root/classes/TidypicsImage.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-19 12:10:46 -0500
committercash <cash.costello@gmail.com>2011-11-19 12:10:46 -0500
commit4562cfbb1a630b14fd194271f99f1f8c098dc38d (patch)
tree926e9e22cca553f48583ff25d782a092795ceb7c /classes/TidypicsImage.php
parenteb9b13e1bfd861cba9b7a812d929b565d5775175 (diff)
downloadelgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.gz
elgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.bz2
basic pages for viewing all/mine/friends and viewing an album
Diffstat (limited to 'classes/TidypicsImage.php')
-rw-r--r--classes/TidypicsImage.php13
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