Optimized / Resized GIFs lose all animation, become still frames

  1. I don’t think it’s actually the job of the server to resize a giant animated GIF that’s so large it doesn’t even fit in the viewport. That’s a lot of work, particularly if we are preserving animation, and as you noted it can munge the compression.

  2. Resizing on the client is not a bad idea, provided we can hard-code the dimensions in the width and height attributes – resizing “on the fly” and letting the browser decide the width/height leads to bouncing of the page as it shifts to accommodate the unknown (until render time) dimensions).

  3. This idea has some merit as well, but seems kind of harsh.. and would be dev work. Maybe if that only kicks in when the animated GIF is so large?