resize images to 300px for frio compliance #761

Merged
vinzv merged 1 commit from develop into develop 2018-10-23 16:48:12 +02:00
Showing only changes of commit b9c39e50b3 - Show all commits

View file

@ -141,7 +141,7 @@ function catavatar_lookup(App $a, &$b)
$url = $a->getBaseURL() . '/catavatar/' . $user['uid'];
switch($b['size']) {
case 175: $url .= "/4"; break;
case 300: $url .= "/4"; break;
case 80: $url .= "/5"; break;
case 47: $url .= "/6"; break;
}
@ -245,7 +245,7 @@ function build_cat($seed = '', $size = 0)
if ($size > 3 && $size < 7) {
switch ($size) {
case 4:
$size = 175;
$size = 300;
break;
case 5:
$size = 80;