1
0
Fork 0

show larger images for profile photos on summary photos page

This commit is contained in:
Friendika 2010-11-07 03:41:28 -08:00
parent 944c14b9e6
commit fbcb74099a

View file

@ -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'],