]> git.mxchange.org Git - friendica-addons.git/commitdiff
resize images to 300px for frio compliance
authorVinzenz Vietzke <vinz@vinzv.de>
Tue, 23 Oct 2018 14:38:01 +0000 (16:38 +0200)
committerVinzenz Vietzke <vinz@vinzv.de>
Tue, 23 Oct 2018 14:38:01 +0000 (16:38 +0200)
catavatar/catavatar.php

index 27e48b7af3c2fdb18b7a61af4d6a0cd79b55de80..b321ae330d545de467b83840caeaba6fc35f8a3e 100644 (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;