add func to loop multi image