aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-07 03:41:28 -0800
committerFriendika <info@friendika.com>2010-11-07 03:41:28 -0800
commitfbcb74099acfdcbc2e18a07504feb76d359ec3b4 (patch)
treeb065d969034a85d796a0eacdb0faaa51b86fc5a7 /mod/photos.php
parent944c14b9e68c98daa40e8369f6cce707c2684486 (diff)
downloadvolse-hubzilla-fbcb74099acfdcbc2e18a07504feb76d359ec3b4.tar.gz
volse-hubzilla-fbcb74099acfdcbc2e18a07504feb76d359ec3b4.tar.bz2
volse-hubzilla-fbcb74099acfdcbc2e18a07504feb76d359ec3b4.zip
show larger images for profile photos on summary photos page
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index a20c13010..8957751cf 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1050,7 +1050,7 @@ function photos_content(&$a) {
. '/image/' . $rr['resource-id'],
'$phototitle' => t('View Photo'),
'$imgsrc' => $a->get_baseurl() . '/photo/'
- . $rr['resource-id'] . '-' . $rr['scale'] . '.jpg',
+ . $rr['resource-id'] . '-' . ((($rr['scale']) == 6) ? 4 : $rr['scale']) . '.jpg',
'$albumlink' => $a->get_baseurl() . '/photos/'
. $a->data['user']['nickname'] . '/album/' . bin2hex($rr['album']),
'$albumname' => $rr['album'],