load images from array