Log In · Register

 
avatar change for every post?, like mike's. ;]
creole
post Jun 19 2009, 06:55 PM
Post #1


Senior Member
*******

Group: Staff Alumni
Posts: 4,665
Joined: Aug 2008
Member No: 676,364



How did Mike make an icon animation of different avatars? The ones with people in shades. I thought that concept was pretty cool, and I noticed that every post he made, the avatar would change automatically. I saved it, and the format was not surprisingly gif. help pl0x
 
 
Start new topic
Replies
mipadi
post Aug 24 2009, 11:45 AM
Post #2


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



Joseph, the algorithm for doing this is pretty simple:
  1. Install a script handler at a URL like myawesomedomain.com/avatar.png. Note that that's actually a script, not a real image, even though it has a .png extension.
  2. The script talks to a database or has a hard-coded list of image files.
  3. One such image is randomly selected.
  4. The image is fetched from the file system and returned.
  5. Client displays said image.
 

Posts in this topic
Beenly   avatar change for every post?   Jun 19 2009, 06:55 PM
Mikeplyts   me? or Design Staff Mike?   Jun 19 2009, 07:05 PM
Beenly   design staff version.   Jun 19 2009, 07:08 PM
Mikeplyts   oh. well, uh, can you give some screenshots or lin...   Jun 19 2009, 07:18 PM
Beenly   sorry, it was few months ago, and the file was .gi...   Jun 19 2009, 07:47 PM
manny-the-dino   Man everyone wanted to know how he did that but ne...   Jun 21 2009, 10:54 PM
superstitious   I believe it's a script, but I'm not 100% ...   Jun 22 2009, 04:19 PM
Beenly   oh.. i know nothing of that sort. .___________.   Jun 22 2009, 04:22 PM
superstitious   Heh, not really my area of expertise either. I th...   Jun 22 2009, 04:28 PM
ley   I read something about this once it was a code but...   Jun 22 2009, 04:31 PM
Beenly   % Yeahh, that's more like it. lol.. hmmm, mayb...   Jun 22 2009, 04:40 PM
jcp   He probably just used a php image.   Jun 22 2009, 04:52 PM
jcp   Who were your replying to? CODEdata:image/png;bas...   Jun 22 2009, 05:07 PM
superstitious   Good luck, Beenly. ;)   Jun 22 2009, 05:17 PM
jcp   bump much? I know this is involved... http://stayn...   Aug 22 2009, 09:53 PM
iDecay   ^ Well, duh... I was going to do this the other...   Aug 22 2009, 09:56 PM
jcp   Why cant I figure i out.   Aug 22 2009, 10:03 PM
tcunningham   QUOTE(jcp @ Aug 22 2009, 11:03 PM) Why ca...   Aug 22 2009, 10:13 PM
elletricity   But the one you posted changes every minute or so,...   Aug 22 2009, 10:58 PM
elletricity   ^ Lol, he probably is.   Aug 22 2009, 11:13 PM
Amaranthus   It's actually simple. Some girl on here last y...   Aug 22 2009, 11:46 PM
jcp   pws tell me. I just dont understand because the a...   Aug 22 2009, 11:57 PM
Amaranthus   QUOTE(jcp @ Aug 23 2009, 12:57 AM) pws te...   Aug 23 2009, 12:11 AM
manny-the-dino   Lol @ you guys killing yourselves over this.   Aug 23 2009, 12:02 AM
elletricity   God, Joseph, it isn't that hard. I Googled it ...   Aug 23 2009, 12:22 AM
jcp   What do you want that I can offer? aim : cohenki...   Aug 23 2009, 12:24 AM
Amaranthus   KAWAIIII YAYYY. Ok bebe, now you talkin.   Aug 23 2009, 12:26 AM
jcp   QUOTE(Amaranthus @ Aug 23 2009, 12:26 AM)...   Aug 23 2009, 12:34 AM
iDecay   Gabi I r done wif my avatars.   Aug 23 2009, 12:27 AM
Amaranthus   DUNH DUNH DUNHHHH. I wasn't gonna make you do ...   Aug 23 2009, 12:39 AM
emberfly   usually when they don't put their sexuality on...   Aug 23 2009, 12:39 AM
Amaranthus   Surprised he didn't already assume that. Oh Ma...   Aug 23 2009, 12:40 AM
technicolour   Oh, how this makes me giggle. I can only imagine h...   Aug 23 2009, 01:00 AM
Mikeplyts   .oy tihs taht elgooG   Aug 23 2009, 01:13 AM
technicolour   Everyone is missing a huge factor for this whole c...   Aug 23 2009, 01:32 AM
emberfly   this thread reminds me of this movie everytime i...   Aug 23 2009, 01:44 AM
elletricity   QUOTE(emberfly @ Aug 22 2009, 11:44 PM)   Aug 24 2009, 01:22 AM
iDecay   Mike, I think you should take off that post so Jos...   Aug 23 2009, 02:09 AM
Mikeplyts   ^If I did that, then he'd never figure it out.   Aug 23 2009, 02:10 AM
iDecay   Good, let him learn.   Aug 23 2009, 02:11 AM
elletricity   QUOTE(iDecay @ Aug 23 2009, 12:11 AM) let...   Aug 23 2009, 02:12 AM
elletricity   ^ Exactly.   Aug 23 2009, 02:15 AM
Mike   RE: avatar change for every post?   Aug 23 2009, 04:59 AM
elletricity   QUOTE(Mike @ Aug 23 2009, 02:59 AM)   Aug 23 2009, 05:03 AM
iDecay   You're a jerk, jerk, jerk.   Aug 23 2009, 05:04 AM
iDecay   You're a jerk! You're a jerk! You...   Aug 23 2009, 05:37 AM
Mikeplyts   mang, y'all ninjas weird.   Aug 23 2009, 07:52 AM
Buttsex   It's a PHP script. A fairly simple one at tha...   Aug 23 2009, 09:49 AM
jcp   QUOTE(Buttsex @ Aug 23 2009, 09:49 AM) It...   Aug 23 2009, 10:45 AM
Mikeplyts   What I don't get though is that Joseph posted ...   Aug 23 2009, 10:31 AM
doughnut   im starting to think this thing is a bit too overr...   Aug 23 2009, 10:42 AM
Mikeplyts   QUOTE(doughnut @ Aug 23 2009, 12:42 PM) i...   Aug 23 2009, 01:08 PM
technicolour   You know, my finger is itching to close this freak...   Aug 23 2009, 12:53 PM
jcp   I have googled it! and I have googled every va...   Aug 23 2009, 01:12 PM
technicolour   QUOTE(jcp @ Aug 23 2009, 01:12 PM) I have...   Aug 23 2009, 01:38 PM
Mikeplyts   dude wth, I found the damn thing like on the 2nd p...   Aug 23 2009, 01:16 PM
jcp   QUOTE(Mikeplyts @ Aug 23 2009, 01:16 PM) ...   Aug 23 2009, 03:28 PM
elletricity   Google something with avatar, refresh, and rotator...   Aug 23 2009, 03:42 PM
superstitious   QUOTE(jcp @ Aug 23 2009, 03:28 PM) What w...   Aug 23 2009, 03:48 PM
fixtatik   Not to be a kill-joy, but why is it so wrong to ju...   Aug 23 2009, 11:47 PM
tcunningham   QUOTE(fixtatik @ Aug 24 2009, 12:47 AM) N...   Aug 24 2009, 01:08 AM
jcp   eh, makes sense to me. I ask a lot of questions so...   Aug 24 2009, 01:16 AM
fixtatik   QUOTE(jcp @ Aug 24 2009, 02:16 AM) eh, ma...   Aug 24 2009, 02:59 AM
Tomates   LOL LETS ALL BE LIKE MIKE   Aug 24 2009, 01:21 AM
xXbernisXx   haha this post its jst too awesome.. lol   Aug 24 2009, 02:57 AM
jcp   Very different. Thos things get asked every single...   Aug 24 2009, 09:39 AM
superstitious   QUOTE(fixtatik @ Aug 23 2009, 11:47 PM) N...   Aug 24 2009, 10:46 AM
mipadi   Joseph, the algorithm for doing this is pretty sim...   Aug 24 2009, 11:45 AM
jcp   So all i need is the script then. Because I made a...   Aug 24 2009, 11:55 AM
jcp   If you had said that in the first place we would b...   Aug 24 2009, 12:14 PM
iDecay   http://www.google.com/#hl=en&source=hp...b823c...   Aug 24 2009, 12:22 PM
Mike   PM me if you have any more questions. Topic closed...   Aug 24 2009, 12:38 PM


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: