jenswirf
jenswirf

Reputation: 7317

How do I create generic images/avatars like SO?

These profile images that each new user on here SO gets. How are they made? I mean, are they randomly generated somehow? I could use something like that.

enter image description here

Upvotes: 5

Views: 1735

Answers (2)

kev
kev

Reputation: 161834

This linux command will generate random identicon:

$ curl -s "http://www.gravatar.com/avatar/`uuidgen | md5sum | awk '{print $1}'`?s=64&d=identicon&r=PG" | display

Upvotes: 3

Li-aung Yip
Li-aung Yip

Reputation: 12486

They are gravatars ("Globally Recognisable avatars.") Gravatar is a free web service.

See http://www.gravatar.com/.

Setting up Gravatars on your site is easy; you don't even need an account! Plugins are available for leading blog software and content management systems, and our tutorials will have you running Gravatars in no time.

Upvotes: 1

Related Questions