aboutsummaryrefslogtreecommitdiff
path: root/classes/TidypicsImage.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/TidypicsImage.php')
-rw-r--r--classes/TidypicsImage.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php
index a37e0dc38..1f6812760 100644
--- a/classes/TidypicsImage.php
+++ b/classes/TidypicsImage.php
@@ -67,7 +67,10 @@ class TidypicsImage extends ElggFile {
*
* @return string
*/
- public function getSrcUrl($size = 'small') {
+ public function getIconURL($size = 'small') {
+ if ($size == 'tiny') {
+ $size = 'thumb';
+ }
return elgg_normalize_url("photos/thumbnail/$this->guid/$size/");
}