Do you mean for your avatar or in a post? It's pretty picky about animated avatars, has to be under a certain size and number of frames. For posts, you can upload the file, then insert it into the reply box either as the full image or a thumbnail.
For posts, you can upload the file, then insert it into the reply box either as the full image or a thumbnail.