setBackgroundColor(Color::parseHex('#EEEEEE')); $identicon = new Identicon(new MD5Preprocessor(), $generator); $icon = $identicon->getIcon($url[0]); header('Content-type: image/svg+xml'); echo $icon; } public function handleUpload($tmpfile,$hash=false) { return array('status'=>'err','hash'=>$hash,'reason'=>'Cannot upload to Identicons'); } }