commit files for image attach