improve image upload workflow.