I know. I wish there was a way we could keep avatars but people could choose to enable or disable animations. If I could ever figure a way to do that....
if (preg_match("/\b.png\b/i", $poster[$avatar_filename]) || preg_match("/\b.gif\b/i", $poster[$avatar_filename])) {
if ($user[animationon]) {
call_display_avi();
}
} else {
call_display_avi();
}