added image_list
added padding