identicon

How is the user id image generated on SO?

帅比萌擦擦* 提交于 2019-12-21 04:07:15
问题 I am a little curious about the cute little kaleidoscopic images associated with each user on this site. How are those generated? Possibilities are: A list of images is already there in some folder and it is chosen randomly. The image is generated whenever a user registers. In any case, I am more interested in what kind of algorithm is used to generate such images. 回答1: It's called an Identicon. If you entered and e-mail, it's a based on a hash of your e-mail address. If you didn't enter an e

How Do I Generate Random Identicons? [closed]

烂漫一生 提交于 2019-12-13 02:38:35
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am looking for the most basic way to generate random identicons with no regards to information such as a user email or IP address etc. 回答1: I wrote this the other day: http://jsfiddle.net/pHv6W/ It will generate a random hexadecimal hash and display an identicon and a monsterID from gravatar.com // Load the

Is there identicon library for PHP [closed]

不问归期 提交于 2019-12-05 05:31:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm looking for a PHP library/function/class which can create Identicons. 回答1: how about this it's how Scott did the identicons for Wordpress, you can download the code and see for yourself. Hope it helps. 回答2: i use this: class Gravatar { static public function GetGravatarUrl( $email, $size = 128, $type =

Is there identicon library for PHP [closed]

早过忘川 提交于 2019-12-03 17:31:17
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm looking for a PHP library/function/class which can create Identicon s. how about this it's how Scott did the identicons for Wordpress, you can download the code and see for yourself. Hope it helps. i use this: class Gravatar { static public function GetGravatarUrl( $email, $size = 128, $type = 'identicon', $rating = 'pg' ) { $gravatar = sprintf( 'http://www.gravatar.com/avatar/%s?d=%s&s=%d&r=%s',