From 95f9337e0e9e681a2e4610f21f2871a43ca1feb8 Mon Sep 17 00:00:00 2001 From: vinzv Date: Tue, 23 Oct 2018 15:16:58 +0200 Subject: [PATCH] adapted 300px image size for default avatar --- images/person-300.jpg | Bin 0 -> 11319 bytes mod/dfrn_confirm.php | 2 +- mod/photo.php | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 images/person-300.jpg diff --git a/images/person-300.jpg b/images/person-300.jpg new file mode 100644 index 0000000000000000000000000000000000000000..817308211344100b5b548adb1e3541a38ef3f746 GIT binary patch literal 11319 zcmch7bx@qm((fX{J-93yBuKEuA;BS72=21@Vv7?X5Fog_6C@!7U)+Q3;)D=Zf9UTo54Feq$1NYBA7yxw4M`&2sIJkJEWRJ-ym<3p5DTU;;S>J_H zQ9lvXv4VOQ{~1XBFC70b=f7G>|2fY;TIT@-7=IQ)ia`o^4k+wpVPauH|Nlo4L~|Im zIm|jNeyFZ5OE4%)UySeJ2CJjmOj_n(<9ttxw3oX=>(9bFDM#0#kt z!?1RerDr{z>cV1l|z_&!=-4A79DMYFK2rv=I!3S z_Zv7;7A1gtM&tQm^*3`}qnUkcD0H3%p*^daK`B|NY8FZUZ!hMsZH zN@V2VK6;N&Iw#={*2pvAc8BLa<>RTRo}hH+#rz^3iNx51B=NYtM~tnG1E+b^4z-Om zK2X`rbFJSh=i#)+H+~inQPZ61gss2Q1v7iHricrKk^D~HoDjO#6>ro2=w`Naz_e^+ zk+$e)(!VV19#o%)$G>s1;O$=%K^dqpc>07Pff^AORBcD!7*oo<&N|h+;Kl*lYvr)S zJnHr~dGemKqq{+OqbXoRX%M$e51Nk_!$lU$QX_M6F(Nim9AhHk|MSDaw_t60eq>kC zvIYC%d)SZNc`Enzg$`HI@3@qS`adKe%`)WLwx;n@YJ-1FPPt6E@Yo0ndk!%b4G7Qz z$j4o=L|b9)Cu>uT`q*5rbzMkqAVbo|C`k6?bN0U40L{)uH?s14Dr|~rHwFvHjcw^@ zc$u)&vTx(t0uir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N8T@?LM8dFUa*W~@Je5#;a@IR| zHFYH!|5=XoF4%DW>-7Hn#{^&Ne}X-!(0s5HonvW!FC#mvT?LE&#XS#vnr|18;60tL zVdE#%#1&uY%l6!U4lI!MXZG9Wi`#|J)CCL(-JR=w`la^2jQe++ahkS}jZ zqoEN%MRI_J-Js~_ZpBD#1r%&-y+I$nX>mm~2_?F%EctlJo_==xu%G5Ne-1Vuo~O;( ybGjg%^{2tArnc;N1S0E+0$!l4jrY+-O45weF4`|J>itK{@(%(1kCg>K%>6GTRP}fO literal 0 HcmV?d00001 diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index f685d9e237..c411059664 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -537,7 +537,7 @@ function dfrn_confirm_post(App $a, $handsfree = null) if (DBA::isResult($contact)) { $photo = $contact['photo']; } else { - $photo = System::baseUrl() . '/images/person-175.jpg'; + $photo = System::baseUrl() . '/images/person-300.jpg'; } Contact::updateAvatar($photo, $local_uid, $dfrn_record); diff --git a/mod/photo.php b/mod/photo.php index 083b7cfc99..54418f730d 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -51,7 +51,7 @@ function photo_init(App $a) exit; } - $default = 'images/person-175.jpg'; + $default = 'images/person-300.jpg'; $public = true; if (isset($type)) { @@ -137,7 +137,7 @@ function photo_init(App $a) if (isset($resolution)) { switch ($resolution) { case 4: - $data = file_get_contents('images/person-175.jpg'); + $data = file_get_contents('images/person-300.jpg'); $mimetype = 'image/jpeg'; break; case 5: -- 2.39.5