Commit 675a4325 authored by Nigel McNie's avatar Nigel McNie
Browse files

Get a profile icon that has its largest edge as 100 pixels long, rather than forcibly rescaling it.

parent c85f12ac
......@@ -186,7 +186,7 @@ function fetch_user_image($username) {
$return['f1'] = base64_encode($fi);
$im = get_dataroot_image_path('artefact/internal/profileicons' , $user->profileicon, '100x100');
$im = get_dataroot_image_path('artefact/internal/profileicons' , $user->profileicon, 100);
$fi = file_get_contents($im);
$return['f2'] = base64_encode($fi);
return $return;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment