modify pics into imageList