Now, here comes the problem. While I can upload the animated gifs for any user, when they are displayed, not only they are static, but it seems like the gif itself is displayed on a transparent background.
Here is the screenshot:
And the original avatar that needs to be displayed (evidently, the atoms spin around etc):
Long story short, I'm clueless what's the reason behind this.
Oh and here's my phpinfo for imagik