Browse Source

show larger images for profile photos on summary photos page

pull/1/head
Friendika 12 years ago
parent
commit
fbcb74099a
  1. 2
      mod/photos.php

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

Loading…
Cancel
Save