show larger images for profile photos on summary photos page
This commit is contained in:
parent
944c14b9e6
commit
fbcb74099a
|
@ -1050,7 +1050,7 @@ function photos_content(&$a) {
|
||||||
. '/image/' . $rr['resource-id'],
|
. '/image/' . $rr['resource-id'],
|
||||||
'$phototitle' => t('View Photo'),
|
'$phototitle' => t('View Photo'),
|
||||||
'$imgsrc' => $a->get_baseurl() . '/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/'
|
'$albumlink' => $a->get_baseurl() . '/photos/'
|
||||||
. $a->data['user']['nickname'] . '/album/' . bin2hex($rr['album']),
|
. $a->data['user']['nickname'] . '/album/' . bin2hex($rr['album']),
|
||||||
'$albumname' => $rr['album'],
|
'$albumname' => $rr['album'],
|
||||||
|
|
Loading…
Reference in a new issue