added images to array