mkdir gifs;for i in *.jpg; do convert $i gifs/$i.gif;done;gifsicle --delay 100 gifs/*.gif --loopcount -O3 --colors 256 --resize 600x_ -o loop.gif

Needs imagemagick and gifsicle, I keep forgetting how to do this.