image loop syntax edit