upload pic function + list object names