]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Added resize possibility to proxy function
[friendica.git] / mod / match.php
index 74f83a6cc9494b76ce1fac8b7d902f400e9a5aae..f31b0f67a44fd82cc2a1140a2581ce443a16aae7 100644 (file)
@@ -2,6 +2,7 @@
 include_once('include/text.php');
 require_once('include/socgraph.php');
 require_once('include/contact_widgets.php');
+require_once('mod/proxy.php');
 
 function match_content(&$a) {
 
@@ -65,7 +66,7 @@ function match_content(&$a) {
                                        $o .= replace_macros($tpl,array(
                                                '$url' => zrl($jj->url),
                                                '$name' => $jj->name,
-                                               '$photo' => proxy_url($jj->photo),
+                                               '$photo' => proxy_url($jj->photo, false, PROXY_SIZE_THUMB),
                                                '$inttxt' => ' ' . t('is interested in:'),
                                                '$conntxt' => t('Connect'),
                                                '$connlnk' => $connlnk,