Bug #698

userListCustomIcons issue

Added by Us Er over 2 years ago.

Status:NewStart date:11/02/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Here is the config.js:

params.userListCustomIcons = "avatar.php?getImage=%nick%&ident=%ident%";

Here is the avatar.php in same folder as config.js:

switch ($_GET['ident']) {
case "Female":
$image = "emoticons/female.png";
break;
case "Male":
$image = "emoticons/male.png";
break;
}

$i = imagecreatefrompng($image);
header('Content-Type: image/png');
imagepng($i);

?>

But the real icons do not show, instead get some odd square icon!

Also available in: Atom PDF