Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use animated picture in Facebook? [closed]

It's possible to upload animation image on Facebook?

I found this picture is animation and I'm a bit confused. Why jpg can be animated?

Live example on Facebook. I saved this picture and re-upload to my wall and it's being static.

Anybody can explain it. Let me know.

like image 679
wow Avatar asked Dec 28 '22 22:12

wow


2 Answers

This appears to be an animated GIF with the headers munged enough to pass as a JPEG. It's not perfect, most of my system's file viewers choke on it - but it's apparently enough for Facebook. Your browser is written to be more fault-tolerant and automatically figures out that it's really a GIF, and displays the animation.

This is, of course, an exploit. If you reposted the image to Facebook or attempted to repeat the trick on another movie, you could be banned.

like image 158
Winfield Trail Avatar answered Dec 31 '22 15:12

Winfield Trail


Facebook disables animations by making a static copy of animated GIFs. This is very much on purpose and is probably a response to the way that animations got out of hand on MySpace back in the day.

like image 45
njbair Avatar answered Dec 31 '22 14:12

njbair