But if I understand well, you want your images to display one after another. Remember that the draw() function is being executed roughly 60 times per second (in order for your eye to see an animation like in movies).

So in order to display your images at a regular interval (1 second for example), you need to be able to measure time.