added almost finished image upload