images now properly aligned in the loop