Added image loop poorly.