Generate gifs client side