]> git.mxchange.org Git - friendica.git/commitdiff
show larger images for profile photos on summary photos page
authorFriendika <info@friendika.com>
Sun, 7 Nov 2010 11:41:28 +0000 (03:41 -0800)
committerFriendika <info@friendika.com>
Sun, 7 Nov 2010 11:41:28 +0000 (03:41 -0800)
mod/photos.php

index a20c1301078d7177ab83702737f7ed6df3a31a1e..8957751cf01bc0f7d65a4f1219e9385b921e9829 100644 (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'],