Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This may sound ridiculous, but I'm curious as to how this image on imgur is animated: http://i.imgur.com/VnPVF.jpg and yet still appears to be a JPG file, not a GIF.

Is it server side? It's viewing the straight file, and so it can be using any JavaScript or other to fulfill this.

Any ideas?

share|improve this question

closed as off topic by John Conde Nov 7 '12 at 22:05

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

That's just a GIF image file that had the extension changed to JPG, no javascript involved. – Mohamed Anis Dahmani Nov 7 '12 at 22:07
You can determine the file type by viewing the image meta information in photoshop and other graphic editing programs. If you want to animate a JPG you can use parallax design – Anagio Nov 8 '12 at 1:11
@Anagio ...or the Content-Type HTTP response header as received by the browser (assuming the server is sending the correct headers). In this case "image/gif". – w3dk Nov 8 '12 at 15:45

Browse other questions tagged or ask your own question.