support array of images