Reapplied the old code for image_list