animating images

?? i have no idea how to make this work