Iterate through images.