From fbcb74099acfdcbc2e18a07504feb76d359ec3b4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 7 Nov 2010 03:41:28 -0800 Subject: [PATCH] show larger images for profile photos on summary photos page --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'],