add the fetch_image_list function