use convert to create animated gifs from images
convert -delay 60 -loop 0 *.jpg -reverse result-60.gif